in src/mapillary/models/geojson.py [0:0]
def to_dict(self):
"""Return the dictionary representation of the Properties"""
attr_representation = [
key for key in dir(self) if not key.startswith("__") and key != "to_dict"
]
return {key: getattr(self, key) for key in attr_representation}