code: def create(cls, api, run_id=None, project=None, username=None):
          
          run_id = run_id or util.generate_id()
          project = project or api.settings.get("project")
          mutation = gql('''
          mutation upsertRun($project: String, $entity: String, $name: String!) {
              upsertBucket(input: {modelName: $project, entityName: $entity, name: $name}) {
                  bucket {
                      project {
                          name
                          entity { name }
                      }
                      id
                      name
                  }
                  inserted
              }
          }
          ''')
          variables = {'entity': username,
                       '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,
              "state": "running"
          })
docs: Create a run for the given project