def unpause(path, service_names=None):
 project = __load_project(path)
 debug_ret = {}
 result = {}
 if isinstance(project, dict):
  return project
 else:
  try:
   project.unpause(service_names)
   if debug:
    for container in project.containers():
     if ((service_names is None) or (container.get('Name')[1:] in service_names)):
      container.inspect_if_not_inspected()
      debug_ret[container.get('Name')] = container.inspect()
      result[container.get('Name')] = 'unpaused'
  except Exception as inst:
   return __handle_except(inst)
 return __standardize_result(True, 'Un-Pausing containers via docker-compose', result, debug_ret)

def unpause ( path , service_names = None ) : project = __load_project ( path ) debug_ret = { } result = { } if isinstance ( project , dict ) : return project else : try : project . unpause ( service_names ) if debug : for container in project . containers ( ) : if ( ( service_names is None ) or ( container . get ( 'Name' ) [ 1 : ] in service_names ) ) : container . inspect_if_not_inspected ( ) debug_ret [ container . get ( 'Name' ) ] = container . inspect ( ) result [ container . get ( 'Name' ) ] = 'unpaused' except Exception as inst : return __handle_except ( inst ) return __standardize_result ( True , 'Un-Pausing containers via docker-compose' , result , debug_ret )
unpauses a container name container name or id **return data** a dictionary will be returned .