class_docstr: A class representing a Workspace object.
  
  Attributes:
      id: (int) The ID of the workspace.
      name: (Mutable, str) The name of the workspace.
docstr: Creates a new project in this workspace with the provided name.
  
  Args:
      name: The name of the project to create.
      description: Optional description to give the new project.
  
  Returns:
      The newly-created :class:`~determined.experimental.Workspace`.
  
  Raises:
      errors.APIException: If the project with the passed name already exists.
docstr_tok: ["Creates","a","new","project","in","this","workspace","with","the","provided","name",".","Args",":","name",":","The","name","of","the","project","to","create",".","description",":","Optional","description","to","give","the","new","project",".","Returns",":","The","newly-created",":","class",":","`","~determined.experimental.Workspace","`",".","Raises",":","errors.APIException",":","If","the","project","with","the","passed","name","already","exists","."]
code: def create_project(
      self, name: str, description: Optional[str] = None
  ) -> project.Project:
      """Creates a new project in this workspace with the provided name.
  
      Args:
          name: The name of the project to create.
          description: Optional description to give the new project.
  
      Returns:
          The newly-created :class:`~determined.experimental.Workspace`.
  
      Raises:
          errors.APIException: If the project with the passed name already exists.
      """
      req = bindings.v1PostProjectRequest(
          name=name, workspaceId=self.id, description=description
      )
      resp = bindings.post_PostProject(
          self._session, workspaceId=self.id, body=req
      )
      return project.Project._from_bindings(resp.project, self._session)
  
file_path: determined/harness/determined/common/experimental/workspace.py
imports: import itertools
  from typing import Iterable, List, Optional
  from determined.common import api
  from determined.common.api import bindings, errors
  from determined.common.experimental import project, resource_pool
label_desc: Use image node_id 6 for calling the Workspace obj's underlying member method code with example usage: obj.create_project(name, description) and returns: project