(self, entity: Entity, project: str, commit: bool = True)
| 162 | self.channel.close() |
| 163 | |
| 164 | def apply_entity(self, entity: Entity, project: str, commit: bool = True): |
| 165 | request = RegistryServer_pb2.ApplyEntityRequest( |
| 166 | entity=entity.to_proto(), project=project, commit=commit |
| 167 | ) |
| 168 | self.stub.ApplyEntity(request) |
| 169 | |
| 170 | def delete_entity(self, name: str, project: str, commit: bool = True): |
| 171 | request = RegistryServer_pb2.DeleteEntityRequest( |
nothing calls this directly
no test coverage detected