Carbon-for-Developers / carbon-sdks

MIT License
4 stars 0 forks source link

`UserFile` datetime type hints are wrong #99

Open jbgh2 opened 5 months ago

jbgh2 commented 5 months ago

In the code the type hints for UserFile.last_sync, UserFile.created_at and others are DateTime At runtime they are str.

dphuang2 commented 5 months ago

@jbgh2 thanks for reporting this. Sorry for the confusion on this—we will take a look.

In the meantime, you can simply cast/convert the field to whatever data type you need.