get_project#

geodesic.account.projects.get_project(name_or_uid=None, refresh=False)[source]#

Gets a project by name or uid. It’s always better to specify the uid to avoid ambiguity. The name will be used to find a project that the user owns, but won’t check other projects that the name might match

Parameters:
  • name_or_uid (str | None) – the name or uid of the project.

  • refresh (bool) – projects are cached by default. If you want the latest list from the server, set refresh to True