dtcc.CityObject.from_proto(pb: Object | bytes)[source]

Initialize CityObject from a protobuf representation.

Parameters:
pb : Union[proto.Object, bytes]

The protobuf message or its serialized bytes representation.