parameters: ()
return_statement: return jsonify(
          {
              'command': 'up',
              'containers': [container.name for container in container_list]
          })
docstring: docker-compose up
docstring_summary: docker-compose up
docstring_tokens: docker - compose up
function: def up_():
      """
      docker-compose up
      """
      req = loads(request.data)
      name = req["id"]
      service_names = req.get('service_names', None)
      do_build = BuildAction.force if req.get('do_build', False) else BuildAction.none
  
      container_list = get_project_with_name(name).up(
          service_names=service_names,
          do_build=do_build)
  
      return jsonify(
          {
              'command': 'up',
              'containers': [container.name for container in container_list]
          })
function_tokens: def up_ ( ) : req = loads ( request . data ) name = req [ "id" ] service_names = req . get ( 'service_names' , None ) do_build = BuildAction . force if req . get ( 'do_build' , False ) else BuildAction . none container_list = get_project_with_name ( name ) . up ( service_names = service_names , do_build = do_build ) return jsonify ( { 'command' : 'up' , 'containers' : [ container . name for container in container_list ] } )