class_docstr: A single run associated with an entity and project.
  
  Attributes:
      tags ([str]): a list of tags associated with the run
      url (str): the url of this run
      id (str): unique identifier for the run (defaults to eight characters)
      name (str): the name of the run
      state (str): one of: running, finished, crashed, killed, preempting, preempted
      config (dict): a dict of hyperparameters associated with the run
      created_at (str): ISO timestamp when the run was started
      system_metrics (dict): the latest system metrics recorded for the run
      summary (dict): A mutable dict-like property that holds the current summary.
                  Calling update will persist any changes.
      project (str): the project associated with the run
      entity (str): the name of the entity associated with the run
      user (str): the name of the user who created the run
      path (str): Unique identifier [entity]/[project]/[run_id]
      notes (str): Notes about the run
      read_only (boolean): Whether the run is editable
      history_keys (str): Keys of the history metrics that have been logged
          with `wandb.log({key: value})`
      metadata (str): Metadata about the run from wandb-metadata.json
class_docstr_tok: ["A","single","run","associated","with","an","entity","and","project",".","Attributes",":","tags","(","[","str","]",")",":","a","list","of","tags","associated","with","the","run","url","(","str",")",":","the","url","of","this","run","id","(","str",")",":","unique","identifier","for","the","run","(","defaults","to","eight","characters",")","name","(","str",")",":","the","name","of","the","run","state","(","str",")",":","one","of",":","running",",","finished",",","crashed",",","killed",",","preempting",",","preempted","config","(","dict",")",":","a","dict","of","hyperparameters","associated","with","the","run","created_at","(","str",")",":","ISO","timestamp","when","the","run","was","started","system_metrics","(","dict",")",":","the","latest","system","metrics","recorded","for","the","run","summary","(","dict",")",":","A","mutable","dict-like","property","that","holds","the","current","summary",".","Calling","update","will","persist","any","changes",".","project","(","str",")",":","the","project","associated","with","the","run","entity","(","str",")",":","the","name","of","the","entity","associated","with","the","run","user","(","str",")",":","the","name","of","the","user","who","created","the","run","path","(","str",")",":","Unique","identifier","[","entity","]","\/","[","project","]","\/","[","run_id","]","notes","(","str",")",":","Notes","about","the","run","read_only","(","boolean",")",":","Whether","the","run","is","editable","history_keys","(","str",")",":","Keys","of","the","history","metrics","that","have","been","logged","with","`","wandb.log","(","{","key",":","value","}",")","`","metadata","(","str",")",":","Metadata","about","the","run","from","wandb-metadata.json"]
docstr: Create a run for the given project.
code: def create(cls, api, run_id=None, project=None, entity=None):
      """Create a run for the given project."""
      run_id = run_id or runid.generate_id()
      project = (
          project or api.settings.get("project") or "uncategorized"
      )
      mutation = gql(
          """
          mutation UpsertBucket($project: String, $entity: String, $name: String!) {
              upsertBucket(input: {modelName: $project, entityName: $entity, name: $name}) {
                  bucket {
                      project {
                          name
                          entity { name }
                      }
                      id
                      name
                  }
                  inserted
              }
          }
          """
      )
      variables = {"entity": entity, "project": project, "name": run_id}
      res = api.client.execute(mutation, variable_values=variables)
      res = res["upsertBucket"]["bucket"]
      return Run(
          api.client,
          res["project"]["entity"]["name"],
          res["project"]["name"],
          res["name"],
          {
              "id": res["id"],
              "config": "{}",
              "systemMetrics": "{}",
              "summaryMetrics": "{}",
              "tags": [],
              "description": None,
              "notes": None,
              "state": "running",
          },
      )
  
imports: import json
  import os
  import tempfile
  import time
  import urllib
  from typing import TYPE_CHECKING, Any, Dict, Mapping, Optional
  from wandb_gql import gql
  import wandb
  from wandb import env, util
  from wandb.apis import public
  from wandb.apis.attrs import Attrs
  from wandb.apis.internal import Api
  from wandb.apis.normalize import normalize_exceptions
  from wandb.apis.paginator import Paginator
  from wandb.apis.public.const import RETRY_TIMEDELTA
  from wandb.sdk.lib import ipython, json_util, runid
  from wandb.sdk.lib.paths import LogicalPath
label_desc: Use image node_id 10 for calling the Run obj's underlying member method code with example usage: obj.create(cls, api, run_id, project, entity) and returns: Run