Retrieves a project from the registry. Args: name: Name of the project. Returns: The specified project. Raises: ProjectObjectNotFoundException: The project could not be found.
(self, name: Optional[str])
| 4203 | return self.registry.list_projects(allow_cache=allow_cache, tags=tags) |
| 4204 | |
| 4205 | def get_project(self, name: Optional[str]) -> Project: |
| 4206 | """ |
| 4207 | Retrieves a project from the registry. |
| 4208 | |
| 4209 | Args: |
| 4210 | name: Name of the project. |
| 4211 | |
| 4212 | Returns: |
| 4213 | The specified project. |
| 4214 | |
| 4215 | Raises: |
| 4216 | ProjectObjectNotFoundException: The project could not be found. |
| 4217 | """ |
| 4218 | return self.registry.get_project(name or self.project) |
| 4219 | |
| 4220 | def delete_project(self, name: str, commit: bool = True) -> None: |
| 4221 | """ |
no outgoing calls