Retrieves the list of projects from the registry. Args: allow_cache: Whether to allow returning projects from a cached registry. tags: Filter by tags. Returns: A list of projects.
(
self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None
)
| 4188 | return self.registry.get_permission(name, self.project) |
| 4189 | |
| 4190 | def list_projects( |
| 4191 | self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None |
| 4192 | ) -> List[Project]: |
| 4193 | """ |
| 4194 | Retrieves the list of projects from the registry. |
| 4195 | |
| 4196 | Args: |
| 4197 | allow_cache: Whether to allow returning projects from a cached registry. |
| 4198 | tags: Filter by tags. |
| 4199 | |
| 4200 | Returns: |
| 4201 | A list of projects. |
| 4202 | """ |
| 4203 | return self.registry.list_projects(allow_cache=allow_cache, tags=tags) |
| 4204 | |
| 4205 | def get_project(self, name: Optional[str]) -> Project: |
| 4206 | """ |
no outgoing calls