(self, project: str)
| 1103 | ) |
| 1104 | |
| 1105 | def _get_infra(self, project: str) -> Infra: |
| 1106 | infra_object = self._get_object( |
| 1107 | table=managed_infra, |
| 1108 | name="infra_obj", |
| 1109 | project=project, |
| 1110 | proto_class=InfraProto, |
| 1111 | python_class=Infra, |
| 1112 | id_field_name="infra_name", |
| 1113 | proto_field_name="infra_proto", |
| 1114 | not_found_exception=None, |
| 1115 | ) |
| 1116 | if infra_object: |
| 1117 | return infra_object |
| 1118 | return Infra() |
| 1119 | |
| 1120 | def apply_user_metadata( |
| 1121 | self, |
nothing calls this directly
no test coverage detected