API does not return milliseconds in datetimes even when present in underlying data #606
Labels
bug
Something isn't working
priority/medium
Issue or PR with a consensus of medium priority
server
Issues pertaining to the example server implementation
Just ran into this while hacking on #595.
Some combination of FastAPI/pydantic is ripping out the milliseconds in responses containing date-times. This causes the validator to get upset when it tests that a query like
last_modified>2018-06-08T04:13:37Z
doesn't return the original object it scraped the time from, but in reality the object has an amount of fractional seconds added onto it in the database, so it is correctly included in the "exclusive" query.The text was updated successfully, but these errors were encountered: