87 Commits (54d94f1f244a910df1a98f8335f823918caaf01e)

Author SHA1 Message Date
dependabot[bot] 5d5666bec5
⬆ Bump ty from 0.0.21 to 0.0.34 (#15443) 2 months ago
pre-commit-ci-lite[bot] 313fc0ffa8
🎨 Auto format 2 months ago
Pedro Lobato d51b7d14b1 Test allowed 2 months ago
Sofie Van Landeghem 7815a32f2e
⬆️ Update Pydantic v2 code to address deprecations (#15101) 2 months ago
Sofie Van Landeghem 98b269b51e
👷 Add `ty` to precommit (#15091) 4 months ago
pre-commit-ci-lite[bot] f4d9ef3131
🎨 Auto format 5 months ago
Sebastián Ramírez 3da206c06d
🎨 Update internal types for Python 3.10 (#14898) 5 months ago
Pedro Lobato d7a6788230 As pydantic v1 support is dropped, we can "inline" the color encoder 5 months ago
Pedro Lobato 7d26de7ed9 E402 Module level import not at top of file 5 months ago
Pedro Lobato 5cdeeccaf9 Fix mismatch on versions 5 months ago
Pedro Lobato 3f3f98d196 More tests for coverage 5 months ago
pre-commit-ci-lite[bot] a32387757e 🎨 Auto format 5 months ago
Pedro Lobato 29ccbbc119 Tests for coverage and sqlalchemy 5 months ago
pre-commit-ci-lite[bot] e7c7b02a82
🎨 Auto format 5 months ago
Pedro Lobato a6203ca51b Fix tests, two encoders for one 5 months ago
pre-commit-ci-lite[bot] ef5884603e
🎨 Auto format 5 months ago
Pedro Lobato 74417cec5c For extra-types safety 5 months ago
pre-commit-ci-lite[bot] 3c1866474d
🎨 Auto format 5 months ago
Pedro Lobato cb3a8ca019 Final fix so tests works nicely 5 months ago
Pedro Lobato 81bec6a275 Coordinate is not a required type, making it optional 5 months ago
Pedro Lobato ad20536712 Update behaviour for named tuples 5 months ago
Pedro Lobato da3a758974 Revert import for color 5 months ago
Pedro Lobato 5c51d0be3c Update encoders.py 5 months ago
Pedro Lobato d23967f756 Attempt to use pydantic_extra_types and allow the deprecated v1 Color 5 months ago
pre-commit-ci-lite[bot] 4b23d86921
🎨 Auto format 5 months ago
Pedro Lobato 334bb918e4 Update encoders.py 5 months ago
Sebastián Ramírez 440bfd70a9
🎨 Tweak types for mypy (#14816) 5 months ago
Sebastián Ramírez e300630551
Drop support for `pydantic.v1` (#14609) 6 months ago
Sebastián Ramírez e2cd8a4201
Drop support for Pydantic v1, keeping short temporary support for Pydantic v2's `pydantic.v1` (#14575) 7 months ago
Sebastián Ramírez 1c4fc96c91
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 7 months ago
Kent Huang 20f40b29c0
🐛 Fix `TypeError` when encoding a decimal with a `NaN` or `Infinity` value (#12935) 7 months ago
Sebastián Ramírez d390f2e41f
Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222) 8 months ago
Sofie Van Landeghem d8c691f7f0
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186) 9 months ago
Sebastián Ramírez d34918abf0
Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168) 9 months ago
Salim Aboubacar 2dc769b121
🐛 Fix `jsonable_encoder` alters `json_encoders` of Pydantic v1 objects (#4972) 10 months ago
Tamir Duberstein a95e91e46e
⬆️ Update mypy to 1.14.1 (#12970) 10 months ago
Pedro Lobato fe7af11a78 Update encoders.py 1 year ago
Pedro Lobato 5961a8c61c Better jsonable encoder for iterables 1 year ago
arjwilliams 09e4859cab
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` (#9929) 2 years ago
Aleksei Kotenko 9c80842cea
♻️ Update mypy (#11049) 2 years ago
Charlie Marsh 5ccc869fee
⬆️ Upgrade configuration for Ruff v0.2.0 (#11075) 2 years ago
Sebastián Ramírez 05ca41cfd1
Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 3 years ago
Marcelo Trylesinski 6c99e90a6b
🐛 Replace `MultHostUrl` to `AnyUrl` for compatibility with older versions of Pydantic v1 (#9852) 3 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 3 years ago
Carson Crane 1f21b16e03
Add support for `deque` objects and children in `jsonable_encoder` (#9433) 3 years ago
Sebastián Ramírez 7c5626bef7
⬆️ Upgrade Ruff (#5698) 4 years ago
Ofek Lev 4267bd1f4f
🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240) 4 years ago
DCsunset 3ec498af63
Add support in `jsonable_encoder` for include and exclude with dataclasses (#4923) 4 years ago
Luis R 22bed0008c
🐛 Fix `jsonable_encoder` for dataclasses with pydantic-compatible fields (#3607) 4 years ago
Guillermo Quintana Pelayo a64387c3fc
♻ Move internal variable for errors in `jsonable_encoder` to put related code closer (#4560) 4 years ago