chanzuckerberg / cryoet-data-portal

CryoET Data Portal
MIT License
19 stars 10 forks source link

fix: Handling datetime in client to_dict() #1314

Open manasaV3 opened 2 weeks ago

manasaV3 commented 2 weeks ago

Calling to_dict() method raises serialization errors for objects that have a date time object. Ex: Dataset, Tomogram,..

This fix serializes the date time into the iso_format string.