Converts a DataSourceProto object to its protobuf representation.
(self)
| 332 | return data_source_instance |
| 333 | |
| 334 | def to_proto(self) -> DataSourceProto: |
| 335 | """ |
| 336 | Converts a DataSourceProto object to its protobuf representation. |
| 337 | """ |
| 338 | proto = self._to_proto_impl() |
| 339 | self._set_timestamps_in_proto(proto) |
| 340 | |
| 341 | return proto |
| 342 | |
| 343 | @abstractmethod |
| 344 | def _to_proto_impl(self) -> DataSourceProto: |
no test coverage detected