def add_cell_to_service(service, cell_name):
 _add_cell_to_service(service, cell_name)
 compute_node = service.get('compute_node')
 if compute_node:
  add_cell_to_compute_node(compute_node[0], cell_name)

def add_cell_to_service ( service , cell_name ) : _add_cell_to_service ( service , cell_name ) compute_node = service . get ( 'compute_node' ) if compute_node : add_cell_to_compute_node ( compute_node [ 0 ] , cell_name )
fix service attributes that should be unique .