13 Commits (a85aa125d24acb225b7b722bb4f3e331a21ec267)

Author SHA1 Message Date
Sebastián Ramírez fdb6c9ccc5
Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 4 years ago
Sebastián Ramírez e1758d107e
⬆ Require Pydantic > 1.0 (#1862) 5 years ago
Nima Mashhadi M. Reza da9b5201c4
🔧 Add Flake8 linting (#1774) 5 years ago
Henry Betts 7fbe3737bc
🐛 Fix encoding a Pydantic model that inherits from another with json_encoders (#1769) 5 years ago
Sebastián Ramírez 1f01ce9615
📝 Use Optional in docs (#1644) 5 years ago
Patrick Wang 8fb755703d
When using Pydantic models with __root__ use the internal value in jsonable_encoder (#1524) 5 years ago
voegtlel 3397d4d69a
Implement response_model_exclude_defaults and response_model_exclude_none (#1166) 5 years ago
Patrick McKenna 3c1803897f
🐛 Fix path encoding (#978) 5 years ago
Stéphane Wirtel e04bae2286 🐛 Fix the usage of custom_encoder for jsonable_encoder #714 (#715) 5 years ago
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646) 5 years ago
Sebastián Ramírez 9e748dbca4
By default, encode by alias (#168) 6 years ago
Sebastián Ramírez 9745a5d1ae
🐛 Fix jsonable_encoder for models with Config (#29) 6 years ago
Sebastián Ramírez 510fec9bee ♻️ Refactor jsonable_encoder and test it 6 years ago