Converts a project metadata object to its protobuf representation. Returns: An ProjectMetadataProto protobuf.
(self)
| 97 | return entity |
| 98 | |
| 99 | def to_proto(self) -> ProjectMetadataProto: |
| 100 | """ |
| 101 | Converts a project metadata object to its protobuf representation. |
| 102 | |
| 103 | Returns: |
| 104 | An ProjectMetadataProto protobuf. |
| 105 | """ |
| 106 | |
| 107 | return ProjectMetadataProto( |
| 108 | project=self.project_name, project_uuid=self.project_uuid |
| 109 | ) |
no outgoing calls
no test coverage detected