Skip to content

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Oct 16, 2022

fix #229.

Also fix behaviour when float('nan') is passed to datetime types.

@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2022

Codecov Report

Merging #295 (ce01304) into main (800114b) will decrease coverage by 0.08%.
The diff coverage is 92.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #295      +/-   ##
==========================================
- Coverage   97.52%   97.44%   -0.09%     
==========================================
  Files          54       54              
  Lines        6131     6212      +81     
  Branches       44       44              
==========================================
+ Hits         5979     6053      +74     
- Misses        152      159       +7     
Impacted Files Coverage Δ
src/errors/kinds.rs 78.24% <ø> (ø)
src/validators/date.rs 95.00% <89.65%> (-1.35%) ⬇️
src/validators/datetime.rs 94.11% <90.47%> (-3.89%) ⬇️
pydantic_core/core_schema.py 100.00% <100.00%> (ø)
src/input/datetime.rs 97.90% <100.00%> (+0.05%) ⬆️
src/input/input_json.rs 96.38% <100.00%> (ø)
src/input/input_python.rs 98.54% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 800114b...ce01304. Read the comment docs.

@samuelcolvin samuelcolvin merged commit 99b7472 into main Oct 17, 2022
@samuelcolvin samuelcolvin deleted the future-past-datetimes branch October 17, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support FutureDate/Datetime and PastDate/Datetime

2 participants