63 Commits (4e44741f0dc83cf97e261ede148d8df88b708102)

Author SHA1 Message Date
SaisakthiM 4e44741f0d again changed to dummy but with ignore 11 months ago
SaisakthiM 0f317d3e1e changed the Color type to any 11 months ago
SaisakthiM 2f0111dc11 changed color to dummycolor for fixing the error 11 months ago
SaisakthiM 40648e8ded color to none in pydnatic v1 11 months ago
SaisakthiM 87049ae412 new change 7 11 months ago
pre-commit-ci[bot] 25c4450595 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 11 months ago
SaisakthiM 277ec10262 new change 6 11 months ago
SaisakthiM 7872449db8 new change 4 11 months ago
pre-commit-ci[bot] 79639fb522 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 11 months ago
SaisakthiM b56f571308 new changes 2 11 months ago
SaisakthiM a51ba2f563 new changes 1 11 months ago
pre-commit-ci[bot] 9e21af3ef3 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 11 months ago
SaisakthiM 9451ff2ece new changes 11 months ago
Salim Aboubacar 2dc769b121
🐛 Fix `jsonable_encoder` alters `json_encoders` of Pydantic v1 objects (#4972) 11 months ago
Tamir Duberstein a95e91e46e
⬆️ Update mypy to 1.14.1 (#12970) 11 months ago
pre-commit-ci[bot] 52f8dbb50e 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 11 months ago
SaisakthiM 28a467b293 fix: make Color import backward-compatible for Pydantic v1 and v2 11 months ago
pre-commit-ci[bot] 28beb2c407 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 11 months ago
SaisakthiM 49124c667d fix: replace deprecated Color with pydantic_extra_types.color.Color 11 months 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
Xavi Moreno eb2e183361
🐛 Fix `jsonable_encoder` using `include` and `exclude` parameters for non-Pydantic objects (#2606) 4 years ago
Sebastián Ramírez d4608a00cf
🐛 Prefer custom encoder over defaults if specified in `jsonable_encoder` (#4467) 5 years ago
Sebastián Ramírez 96fdfc53cc
Support `dataclasses` in responses (#3576) 5 years ago
Rubikoid 0e0931d308
🐛 Fix include/exclude for dicts in `jsonable_encoder` (#2016) 5 years ago
Sebastián Ramírez fdb6c9ccc5
Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 6 years ago
Sebastián Ramírez 0dfde6e284
🐛 Fix issues introduced by removing sqlalchemy safeguard in jsonable_encoder (#1987) 6 years ago
Sebastián Ramírez cdba8481c2
🔥 Remove old/unused parameter sqlalchemy_safe from jsonable_encoder (#1864) 6 years ago
Sebastián Ramírez e1758d107e
⬆ Require Pydantic > 1.0 (#1862) 6 years ago
Henry Betts 7fbe3737bc
🐛 Fix encoding a Pydantic model that inherits from another with json_encoders (#1769) 6 years ago
Nima Mashhadi M. Reza 3063ad83ec
Simplify and improve jsonable_encoder (#1754) 6 years ago
Yurii Karabas 55b9faeb48
♻ Simplify code syntax in several places (#1753) 6 years ago
Nima Mashhadi M. Reza 3223de5598
🎨 Add typing.Optional to variables that accept None as value (#1731) 6 years ago
Patrick Wang 8fb755703d
When using Pydantic models with __root__ use the internal value in jsonable_encoder (#1524) 6 years ago
voegtlel 3397d4d69a
Implement response_model_exclude_defaults and response_model_exclude_none (#1166) 6 years ago
Patrick McKenna 3c1803897f
🐛 Fix path encoding (#978) 7 years ago
Roald Storm b85b2e3942 Add support for subtypes of main types in jsonable_encoder 7 years ago
Sebastián Ramírez 83d04df8a6
🔊 Refactor logging (#781) 7 years ago
Stéphane Wirtel e04bae2286 🐛 Fix the usage of custom_encoder for jsonable_encoder #714 (#715) 7 years ago
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646) 7 years ago