parameters: (name)
docstring: get yml content
docstring_summary: get yml content
docstring_tokens: get yml content
function: def project_yml(name):
      """
      get yml content
      """
      folder_path = projects[name]
      path = get_yml_path(folder_path)
      config = project_config(folder_path)
  
      with open(path) as data_file:
          env = None
          if os.path.isfile(folder_path + '/.env'):
              with open(folder_path + '/.env') as env_file:
                  env = env_file.read()
  
          return jsonify(yml=data_file.read(), env=env, config=config._replace(version=config.version.__str__()))
function_tokens: def project_yml ( name ) : folder_path = projects [ name ] path = get_yml_path ( folder_path ) config = project_config ( folder_path ) with open ( path ) as data_file : env = None if os . path . isfile ( folder_path + '/.env' ) : with open ( folder_path + '/.env' ) as env_file : env = env_file . read ( ) return jsonify ( yml = data_file . read ( ) , env = env , config = config . _replace ( version = config . version . __str__ ( ) ) )