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: Gets a project that is a part of this workspace.
  
  Args:
      project_name: The name of the project to get.
  
  Raises:
      errors.NotFoundException: If the project with the passed name is not found.
docstr_tok: ["Gets","a","project","that","is","a","part","of","this","workspace",".","Args",":","project_name",":","The","name","of","the","project","to","get",".","Raises",":","errors.NotFoundException",":","If","the","project","with","the","passed","name","is","not","found","."]
code: def get_project(self, project_name: str) -> project.Project:
      """Gets a project that is a part of this workspace.
  
      Args:
          project_name: The name of the project to get.
  
      Raises:
          errors.NotFoundException: If the project with the passed name is not found.
      """
      projects = bindings.get_GetWorkspaceProjects(
          session=self._session,
          id=self.id,
          name=project_name,
      ).projects
      if projects:
          return project.Project._from_bindings(
              projects[0], self._session
          )
      else:
          raise errors.NotFoundException(
              f"Project '{project_name}' not found in this workspace."
          )
  
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 8 for calling the Workspace obj's underlying member method code with example usage: obj.get_project(project_name) and returns: project