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

Initialize City from a protobuf representation.

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

The protobuf message or its serialized bytes representation.