$ the-wire ยท showcase
Pydantic adds multiple_of for Fraction and timedelta
By RepoJournal ยท Filed ยท About FastAPI & Pydantic ยท Composed from the cited sources ยท methodology
Pydantic extended its core schemas so two more types accept the multiple_of constraint, while FastAPI's feed carried release-notes housekeeping and nothing else.
Add support for `multiple_of` constraint in `fraction` and `timedelta` core schemas pydantic/pydantic
The fraction and timedelta core schemas now honor multiple_of, so validators that previously rejected the constraint for those types will accept it, closing the gap reported in the linked issue.
Add support for `multiple_of` constraint in `fraction` and `timedelta` core schemas (#13873) pydantic/pydantic
Same constraint work as it landed on the default branch, following Viicos's proposal to support multiple_of in the fraction and timedelta core schemas.
Remove local import in `resolve_default_value()` (#13871) pydantic/pydantic
agustin18 removed a local import inside resolve_default_value(), a small cleanup that trims per-call overhead in the default-resolution path.
๐ Update release notes fastapi/fastapi
by latest-changes[bot]
The latest-changes bot refreshed FastAPI's release notes in a commit tagged skip ci, so the published notes match what already shipped.