Commit Graph

  • e71f53d2b5 Improve generic subclass support (#2549) diabolo-dan 2021-12-05 13:40:23 +00:00
  • a35cde90af feat(schema): set minItems and maxItems in JSON schema for tuples (#2497) Eric Jolibois 2021-12-05 05:20:07 -08:00
  • cc1cb4826c Fix "dataclasess" typos (#3411) Colin Watson 2021-11-18 22:41:56 +00:00
  • ee0b2e2153 Fix issue with ClassVar parsing (#3403) Yurii Karabas 2021-11-19 00:40:15 +02:00
  • 8afdaab4ac Schema.md: use consistent (American) spelling (#3207) Tom Hacohen 2021-10-27 02:28:27 +03:00
  • 7acac76f3c fix minor typo (#3240) Josh Smith 2021-10-26 19:26:52 -04:00
  • 36140bb177 typo (#3242) Dylan Leroux 2021-10-27 01:26:04 +02:00
  • 1b1ec08f1e ci: bump to python 3.10 stable release (#3364) Eric Jolibois 2021-10-27 01:24:07 +02:00
  • 28f7b1ba58 build(deps): bump requirements (#3363) Eric Jolibois 2021-10-27 01:12:20 +02:00
  • d2625d6052 docs: small change to wording in note (#3347) Greg Wilson 2021-10-26 18:55:04 -04:00
  • eac8a457d1 build(deps): bump hypothesis from 6.18.0 to 6.24.0 (#3353) dependabot[bot] 2021-10-27 00:41:04 +02:00
  • 4be3f45e20 chore(deps): bump mkdocs (#3168) Eric Jolibois 2021-10-12 23:46:47 +02:00
  • c256dccbb3 build(deps): bump hypothesis from 6.17.4 to 6.18.0 (#3183) dependabot[bot] 2021-09-11 10:49:52 +02:00
  • 18e1361e8b chore(ci): switch to 3.10.0-rc2 (#3199) Eric Jolibois 2021-09-10 13:48:55 +02:00
  • 45db4ad3aa Add autocomplete support for VS Code, via dataclass_transform (#2721) Sebastián Ramírez 2021-09-06 12:13:02 +02:00
  • 5bc1fcfb92 feat: support custom extra in validate_arguments (#3177) Eric Jolibois 2021-09-06 00:44:16 +02:00
  • c4e793b767 fix: make validate_arguments work with Config.validate_all (#3176) Eric Jolibois 2021-09-06 00:33:36 +02:00
  • 63e42db921 Fix bug when mypy plugin fail on construct method call (#2767) Yurii Karabas 2021-09-05 12:29:13 +03:00
  • 0c2f69c500 Toml support for pydantic-mypy plugin config (#2908) John Walk 2021-09-05 05:25:47 -04:00
  • 72d4f30f0a Resolve postponed NamedTuple annotations (#2760) (#2761) Jamey Sharp 2021-09-04 14:45:23 -07:00
  • 1aa22e199f Add ability to use Counter type (#2806) Yurii Karabas 2021-09-05 00:41:09 +03:00
  • 257908628f fix(schema): fix schema generation for Deque field (#2811) sergejkozin 2021-09-05 03:45:40 +07:00
  • 161b000c7e Accept empty query/fragment URL parts (#2888) Xavier Defrang 2021-09-04 21:06:08 +02:00
  • abbad5e88c Added dark color scheme for docs (#2913) Piotr Gnus 2021-09-04 20:37:42 +02:00
  • e431604654 clarify docs on validation and strict type checking (#2855) Pax 2021-09-04 10:58:47 -07:00
  • 4ac2501477 mention 3.8 requirement in contrib docs (#2856) Pax 2021-09-04 10:55:40 -07:00
  • 428f1e4d34 Parse JSON for union type with complex subfields (#2936) (#2970) Christopher Bartz 2021-09-04 19:53:32 +02:00
  • 22849ee049 Fix error when using slots with multiple inheritance (#2989) Hmvp 2021-09-04 18:32:29 +02:00
  • acb4ff3744 Fix support for using a subclass of an annotation as a default (#3018) Jacob Hayes 2021-09-04 11:11:17 -05:00
  • e9327b85fc Add a TypedDict class for error objects (#3038) Matthew Hughes 2021-09-04 16:33:48 +01:00
  • 020a0219eb fix: make create_model_from_typeddict mypy compliant (#3047) Eric Jolibois 2021-09-04 16:59:23 +02:00
  • f5a9f4fbe3 feat: handle object type (#3062) Eric Jolibois 2021-09-04 16:40:14 +02:00
  • 268c3cc41f Fix: _pydantic_post_init() reassigns __dict__ and removes properties (#3093) Roger Collins 2021-09-04 10:32:22 -04:00
  • f404aa25e8 fix: support properly path type (#2801) Kyungmin Lee 2021-09-04 19:40:53 +09:00
  • d1a9ba53fa fix: change Type[Any] to Any (#2879) Kyungmin Lee 2021-09-04 18:36:37 +09:00
  • 97a4176110 Correctly parse generic models with Json[T] (#2987) Grégoire Charvet 黑瓜 2021-09-04 10:36:29 +01:00
  • b26d6f925b mypy: Add create_model overload (#2748) Yurii Karabas 2021-09-04 05:53:49 +03:00
  • 6b6116054a fix: nested literal with constraints (#2794) Eric Jolibois 2021-09-04 04:36:42 +02:00
  • 7108652d0b Renamed schema variable name to schema_ as there is a schema function defined (#2724) Shahriyar Rzayev 2021-09-04 06:35:54 +04:00
  • 0d1ed534ac Fix mypy plugin issue with self field (#2743) Yurii Karabas 2021-09-04 05:15:49 +03:00
  • 8c6b9ca285 prevent StrictStr allowing Enum values (#2729) Samuel Colvin 2021-09-04 03:13:32 +01:00
  • f9c65c5b88 fix: add/fix BaseConfig type annotations (#2720) Eric Jolibois 2021-09-04 04:13:20 +02:00
  • bd61f1b6ee fix: stop calling parent class root_validator if overridden (#2670) Eric Jolibois 2021-09-04 03:55:11 +02:00
  • 93aed51183 Advanced use of generic fields in schema generation (#2375) maximberg 2021-09-04 03:58:43 +03:00
  • f49887cb44 fix: coverage (#3169) Eric Jolibois 2021-09-04 02:28:39 +02:00
  • 8417b3bb5c add FileUrl type for file:// schemes, add host_required parameter (#2434) Vasilis Gerakaris 2021-09-04 03:10:25 +03:00
  • 65fc336cf3 added KafkaDsn to networks.py and add default ports for HttpUrl (#2447) Mikhail Sitnikov 2021-09-04 02:46:55 +03:00
  • 1a9f59dc1e Support postgresql+asyncpg schema for PostgresDsn (#2567) Fernando ike 2021-09-03 20:19:54 -03:00
  • 5549e8d379 Fix recursive ORM parsing error (#2718) Nuno André 2021-09-04 00:47:11 +02:00
  • 3d287594e0 Allow collections.abc.Callable to be used as type in python 3.9 (#2519) Davis Kirkendall 2021-09-04 00:25:28 +02:00
  • 90080ba0de Fix typos discovered by codespell (#3096) Christian Clauss 2021-09-04 00:05:36 +02:00
  • 796a7531cd chore(deps): bump requirements (#3166) Eric Jolibois 2021-09-03 23:47:51 +02:00
  • 21d002ec6e chore(ci): update to python 3.10.0-rc.1 (#3085) Eric Jolibois 2021-09-03 22:56:11 +02:00
  • 5ccbdcb590 chore(ci): remove warning filter for fastapi tests (#3001) Eric Jolibois 2021-07-20 00:59:08 +02:00
  • 0c26c1c4e2 chore(ci): update python 3.10 version (#3000) Eric Jolibois 2021-07-19 20:25:05 +02:00
  • 945bc1161f fix(ci): ignore pytest warning for fastapi tests (#2999) Eric Jolibois 2021-07-19 19:59:08 +02:00
  • 4a54f393ad Add python 3.10 support (#2885) Eric Jolibois 2021-07-19 15:23:07 +02:00
  • a4cb4ee3bc feat: add PastDate and FutureDate types (#2425) Marcelo Trylesinski 2021-06-04 23:30:25 +02:00
  • 2e2edf4f11 Allow custom CFLAGS and update documentation on reducing size. (#2517) Peter Roelants 2021-06-04 21:42:49 +02:00
  • aca18a9863 Added Talk Python Episode 313 to docs (#2712) Ratul Maharaj 2021-06-04 19:41:01 +02:00
  • c489445cea fix: mypy plugin link in docs (#2869) Eric Jolibois 2021-06-01 23:01:39 +02:00
  • 920d71b708 Fix mypy plugin link in doc (#2747) Rémi Benoit 2021-06-01 22:35:10 +02:00
  • 2549c3012d build(deps-dev): bump dependencies (#2867) Eric Jolibois 2021-06-01 18:46:05 +02:00
  • c7d5259c0d 🔥 Unpin SQLAlchemy version for FastAPI tests (#2865) Sebastián Ramírez 2021-06-01 14:19:11 +02:00
  • babbd4c59d fix: attrs + cattrs benchmark (#2863) Eric Jolibois 2021-06-01 13:54:24 +02:00
  • b718e8e626 Add GetterDict example (#2463) Nuno André 2021-05-12 16:25:17 +02:00
  • 6df783e9b4 build(deps): bump mkdocs-material from 7.1.3 to 7.1.4 (#2773) dependabot[bot] 2021-05-11 21:40:27 +01:00
  • 34afae1e97 build(deps): bump pytest-mock from 3.6.0 to 3.6.1 (#2770) dependabot[bot] 2021-05-11 21:33:46 +01:00
  • 111ee2f5c9 V1.8.2 history (#2783) Samuel Colvin 2021-05-11 21:28:16 +01:00
  • 7e83fdd256 Merge pull request from GHSA-5jqp-qgf6-3pvh Samuel Colvin 2021-05-11 18:08:48 +01:00
  • a6154514c1 fix(schema): namedtuple with default (#2711) Eric Jolibois 2021-05-11 16:13:54 +02:00
  • 7a2bcd2f6a switch downloads badge to pepy.tech Samuel Colvin 2021-05-11 15:13:29 +01:00
  • 7ac1dc537a Fix repr tests (#2769) Yurii Karabas 2021-05-11 17:07:43 +03:00
  • 0bfc930274 Allow passing json_encoders in class kwargs (#2523) layday 2021-05-11 17:03:51 +03:00
  • 17eb82cd50 fixing tests (#2779) Samuel Colvin 2021-05-11 14:40:17 +01:00
  • 362f4a5163 add repr parameter to hide a field from repr() (#2593) Frank Epperlein 2021-05-09 15:16:52 +02:00
  • 0b3c5631bd fix: generate a valid name in schema for Enum classes (#2582) Eric Jolibois 2021-05-09 15:11:48 +02:00
  • 68784f63c0 fix: provide __version__ attribute (#2573) Pax 2021-05-09 05:44:55 -07:00
  • 31c4efb7f0 fix: remove side effect of default_factory to always run it only once (#2566) Eric Jolibois 2021-05-09 14:35:15 +02:00
  • e3b98a1db4 Support user defined generic field types in generic models. (#2554) Davis Kirkendall 2021-05-09 14:11:31 +02:00
  • 4753901151 fix(schema): JSON schema generation with a Literal of an enum member (#2536) Eric Jolibois 2021-05-09 13:20:54 +02:00
  • 0a5f0fae7a Fix issue with config decl at class level (#2532) Yurii Karabas 2021-05-09 14:05:48 +03:00
  • 9cc6d44682 Allow for generation of a constrained decimal with decimal_places argument for hypothesis plugin (#2524) Christopher Evans 2021-05-09 03:57:14 -07:00
  • 046fc53324 disable "label-assign" for PR reviews again, :-( Samuel Colvin 2021-05-09 11:55:12 +01:00
  • 42033cfe1c try enabling "label-assign" for PR reviews Samuel Colvin 2021-05-09 11:05:41 +01:00
  • 08fc8302cf Add lookahead for ip check in AnyUrl (#2512) Søren Bjerregaard Vrist 2021-05-09 11:49:19 +02:00
  • 9cc19e9a8e fix: support arbitrary types with custom __eq__ (#2502) Eric Jolibois 2021-05-09 11:44:53 +02:00
  • 07908b3846 Add "strict" argument to "conbytes" (#2490) Koudai Aono 2021-05-09 18:27:29 +09:00
  • 9f654a1fb2 fix(encoder): serialize NameEmail to str (#2479) Alexandre Gerona 2021-05-09 17:26:02 +08:00
  • 82fb6ebfc9 Generate schema for generic models (#2364) Danielle Madeley 2021-05-09 18:23:56 +10:00
  • 5921d5ec96 use latest label-and-assign docker image Samuel Colvin 2021-05-03 22:03:58 +01:00
  • c7aea15d2a remove unused step from label-and-assign Samuel Colvin 2021-05-03 18:17:44 +01:00
  • 298a54a024 add label-and-assign github action (#2739) Samuel Colvin 2021-05-03 18:12:06 +01:00
  • 42395056e1 Fix(docs): remove colon to separate unrelated clauses (#2733) krisaoe 2021-05-04 02:46:37 +10:00
  • 55e688a30d build(deps): bump black from 20.8b1 to 21.4b0 (#2700) dependabot[bot] 2021-05-03 17:19:58 +01:00
  • d9cf604786 build(deps): bump pytest-mock from 3.5.1 to 3.6.0 (#2734) dependabot[bot] 2021-05-03 17:19:36 +01:00
  • 50ade2fa3a build(deps): bump python-dotenv from 0.17.0 to 0.17.1 (#2736) dependabot[bot] 2021-05-03 17:18:28 +01:00
  • 26faf8ab94 add token permissions to upload-previews Samuel Colvin 2021-05-02 11:54:04 +01:00
  • 157e115500 build(deps): bump hypothesis from 6.8.5 to 6.10.1 (#2728) dependabot[bot] 2021-05-01 17:22:18 +01:00
  • db697cc799 Add exclude as field parameter (#2231) Davis Kirkendall 2021-05-01 17:45:37 +02:00