Closed aaronkanzer closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.59%. Comparing base (
e135307
) to head (40d8fb5
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@aaronkanzer - i'm not sure this is necessary. i believe pydantic default validator for datetime works fine. at least on the example ben sent.
@aaronkanzer - i'm not sure this is necessary. i believe pydantic default validator for datetime works fine. at least on the example ben sent.
Hmmm, agreed -- accordingly to the docs it should work fine (e.g. pydantic handling different formats of datetime
), but it is still failing 🤔
Perhaps a different root cause....looking further...
Yes, this is what has been confusing us. We don't see any logic in the dandi schema that would seem to require timezones for this field
Closed for now -- as it doesn't seem that this is the root cause error of validation for certain datetime
timestamps.
Relates to https://github.com/dandi/dandi-archive/issues/1944
and changes made for NWB in https://github.com/NeurodataWithoutBorders/pynwb/pull/1886
Observed in failed dandiset validation in staging environment here: https://gui-staging.dandiarchive.org/dandiset/213840
Cc @candleindark @yarikoptic @satra @bendichter