Commit Graph

  • 0500610ec5 Typecheck Json inner type (#4332) Arseny Boykov 2022-08-09 14:49:27 +04:00
  • f41ac92b3c fix main.BaseModel.(dict, json) fields types (#4293) Anton Shestakov 2022-08-09 13:20:15 +03:00
  • 86b8486c1d Update to PEP 681 dataclasses (#4241) Michael Milton 2022-08-09 20:07:35 +10:00
  • b59a85a20c Resolve ForwardRef on Field.outer_type_ (#4249) Jacob Hayes 2022-08-09 05:57:56 -04:00
  • a9c273235f Fix sub-model link in usage/models docs (#4234) Hasan Ramezani 2022-08-09 11:51:52 +02:00
  • 10508f7259 Adds assert_never helper (#3294) Nikita Sobolev 2022-08-09 12:15:04 +03:00
  • f6c74a55d5 feat: pass config to NamedTuple fields (#4225) Rory Byrne 2022-08-08 20:33:30 +01:00
  • d90def3c4e Add to upper function for strings and bytes (#4165) Gustavo Satheler 2022-08-08 13:06:00 -03:00
  • 65a1381591 Fix schema for set and frozenset with default value (#4155) Amin Alaee 2022-08-08 18:02:04 +02:00
  • b42fae081c Add nested json encoding (#3941) Lily Wang 2022-08-09 01:46:51 +10:00
  • 8f388e1e30 Add default to JSON schema when const is True (#4152) Amin Alaee 2022-08-08 17:44:49 +02:00
  • 42462abf9d Fix #4041 -- Fix create_model docstring for custom-specified Fields (#4142) Hasan Ramezani 2022-08-08 17:38:32 +02:00
  • 02a076d14f mypy plugin: More precisely detect when fields are required. (#4086) Richard Xia 2022-08-08 11:29:26 -04:00
  • da8f0c034e support overwriting dunder attributes of BaseModel instances (#3907) Eric Jolibois 2022-08-08 17:15:01 +02:00
  • cf16f7c388 Add CockroachDsn type (#3830) Tiemo 2022-08-08 17:14:35 +02:00
  • 9599a3d256 updates to description of the fields option. (#3822) gieddy660 2022-08-08 16:53:43 +02:00
  • 4d87699363 Adds reserved word check to signature generation logic. (#4012) strue36 2022-08-08 15:47:23 +01:00
  • c356011892 Fix Json strategy serialization failure (#4005) SergioSim 2022-08-08 16:45:21 +02:00
  • ea870115b7 fix: allow submodels to overwrite extra field info (#3935) Eric Jolibois 2022-08-08 16:01:39 +02:00
  • ef4a5d3315 fix: add correct handling for negative time deltas of iso format serialization (#3899) (#3909) Pepa 2022-08-08 15:54:09 +02:00
  • cd439a4e8d fix: access discriminator field on BaseModel instance using key (#3847) Charlie Hornsby 2022-08-08 16:43:23 +03:00
  • e92f12efac Add ability to use TypedDict Required/NotRequired (#3687) Yurii Karabas 2022-08-08 15:57:36 +03:00
  • 0b8b7eb4b6 support kw_only on dataclasses (#3674) DetachHead 2022-08-08 22:44:16 +10:00
  • 90a103ec3c Add Color comparison method (#3646) Amin Alaee 2022-08-08 14:37:58 +02:00
  • 177ca2a6b2 Validator decorator field check. Closes #3215 (#3216) Michael 2022-08-08 22:34:45 +10:00
  • 7431683e88 Alias support in decorator validate_arguments (#3019) Mateo Aguirre Duque 2022-08-08 07:33:51 -05:00
  • e07d73b373 Update URLs after migrating to organization (#4348) Yasser Tahiri 2022-08-08 13:27:35 +01:00
  • 460f858cc5 Add mypy static checking for default and default_factory (#3430) Luca Repetti 2022-08-08 14:07:23 +02:00
  • 2049acec74 build(deps): bump coverage from 6.4.2 to 6.4.3 (#4346) dependabot[bot] 2022-08-08 12:05:49 +00:00
  • b67c77f71a build(deps): bump flake8 from 5.0.3 to 5.0.4 (#4347) dependabot[bot] 2022-08-08 12:05:27 +00:00
  • ae3aae9763 build(deps): bump hypothesis from 6.53.0 to 6.54.1 (#4345) dependabot[bot] 2022-08-08 13:02:46 +02:00
  • 73fe393127 build(deps): bump pycodestyle from 2.9.0 to 2.9.1 (#4344) dependabot[bot] 2022-08-08 13:02:30 +02:00
  • a69136d209 Add ability to use Final in a field type annotation (#2768) Yurii Karabas 2022-08-05 17:34:53 +03:00
  • d0e5f98be4 new to_lower_camel() function (#3473) PattyC 2022-08-05 23:48:19 +09:30
  • a26665a5ad bug: Add annotation to ModelField for use in BaseModel.__signature__ (#3413) Adrian Garcia Badaracco 2022-08-05 16:13:47 +02:00
  • 5885e6ce12 fix(PostgresDsn): Add support for multiple hosts in PostgresDsn #3337 (#3349) Piotr Rogulski 2022-08-05 15:57:16 +02:00
  • 39d30c24df fix parsing of tiny timedelta values (#4329) Samuel Colvin 2022-08-05 12:31:13 +01:00
  • 88ade4bb6d fix int_validator not catching overflows (#3112) Jonas Obrist 2022-08-05 20:22:55 +09:00
  • c73bf444db improved issue templates (#4328) Samuel Colvin 2022-08-05 12:22:43 +01:00
  • 5293adb3d3 fix(secret): uppercase in filename on linux (#3304) Jean 2022-08-04 18:07:41 +02:00
  • ea739fcb22 test another version of mypy (#4326) Samuel Colvin 2022-08-04 16:50:44 +01:00
  • d53259aa58 Add MongoDB network data source name (DSN) schema (#3230) Salar Nosrati-Ershad 2022-08-04 19:40:42 +04:30
  • b56c810f52 labe-assign revert pull_request_review change Samuel Colvin 2022-08-04 16:07:34 +01:00
  • 9a0ae097bf allow label-assign to work with reviews Samuel Colvin 2022-08-04 15:44:25 +01:00
  • 2ac10affe5 Allow ellipsis on Fields inside Annotated (#3133) Ezequiel Lara Gomez 2022-08-04 15:21:05 +01:00
  • e58dad6dec Added support for Rich Repr protocol (#3099) Will McGugan 2022-08-04 14:47:42 +01:00
  • bd0a28d8d7 Avoid __dict__ and __weakref__ attributes in AnyUrl and _BaseAddress subclasses (#2890) Nuno André 2022-08-04 13:56:37 +02:00
  • 576e4a3a8d refactor: change pydantic dataclass decorator (#2557) Eric Jolibois 2022-08-04 13:06:54 +02:00
  • bc96cc9fbe add hypothesis warning, replace #2954 (#4323) Samuel Colvin 2022-08-04 10:02:01 +01:00
  • 8dade4d9c2 Bump mypy to 0.971 (#4211) Hasan Ramezani 2022-08-03 17:39:14 +02:00
  • 9cfbd2b11b Empty string is a valid JSON-key (#4252) Sergey Tsaplin 2022-08-03 17:27:49 +02:00
  • 6cc38feeb1 Add ISO 8601 wikipedia link to docs (#4263) Hasan Ramezani 2022-08-03 17:19:15 +02:00
  • 338a70de9f Use pip directly to install FastAPI in its integration test (#4282) Ofek Lev 2022-08-03 11:18:45 -04:00
  • d381eda658 build(deps): bump devtools from 0.8.0 to 0.9.0 (#4311) dependabot[bot] 2022-08-02 10:06:15 +02:00
  • 72df358ad6 build(deps): bump mkdocs-material from 8.3.8 to 8.3.9 (#4315) dependabot[bot] 2022-08-02 10:05:59 +02:00
  • 3538a46e44 build(deps): bump mdx-truly-sane-lists from 1.2 to 1.3 (#4314) dependabot[bot] 2022-08-02 09:34:57 +02:00
  • 33b03572a7 build(deps): bump coverage from 6.4.1 to 6.4.2 (#4313) dependabot[bot] 2022-08-02 09:34:46 +02:00
  • a12f2175d2 build(deps): bump flake8 from 4.0.1 to 5.0.3 (#4312) dependabot[bot] 2022-08-02 09:13:07 +02:00
  • 5588734838 build(deps): bump ansi2html from 1.6.0 to 1.8.0 (#4309) dependabot[bot] 2022-08-02 08:51:04 +02:00
  • b15685eb1d build(deps): bump pyflakes from 2.4.0 to 2.5.0 (#4310) dependabot[bot] 2022-08-02 08:50:49 +02:00
  • 6ac99db76a build(deps): bump hypothesis from 6.48.2 to 6.53.0 (#4302) dependabot[bot] 2022-08-02 08:50:28 +02:00
  • f822dfc638 build(deps): bump pycodestyle from 2.8.0 to 2.9.0 (#4305) dependabot[bot] 2022-08-02 00:05:43 +02:00
  • d54a87b7af build(deps): bump pytest-mock from 3.8.1 to 3.8.2 (#4304) dependabot[bot] 2022-08-01 23:56:31 +02:00
  • 6a4b43c990 build(deps): bump pyupgrade from 2.34.0 to 2.37.3 (#4307) dependabot[bot] 2022-08-01 23:46:57 +02:00
  • fbb12fafe7 build(deps): bump pre-commit from 2.19.0 to 2.20.0 (#4303) dependabot[bot] 2022-08-01 23:29:45 +02:00
  • 540220504f build(deps): bump pytest-sugar from 0.9.4 to 0.9.5 (#4301) dependabot[bot] 2022-08-01 23:19:24 +02:00
  • 23ebfdfc76 build(deps): bump markdown-include from 0.6.0 to 0.7.0 (#4299) dependabot[bot] 2022-08-01 23:18:55 +02:00
  • fda705e8dd build(deps): bump cython from 0.29.30 to 0.29.32 (#4300) dependabot[bot] 2022-08-01 23:18:13 +02:00
  • 5606157105 test 3.11.0-beta.5 (#4285) Samuel Colvin 2022-07-28 12:37:22 +01:00
  • 6d0aa20aa6 ci: add python 3.11.0b4 (#4267) Eric Jolibois 2022-07-27 11:11:19 +02:00
  • eadfdbdbde Fix mypy error in models_recursive.py example. (#3995) Hernán Alarcón 2022-07-21 01:52:44 -05:00
  • 50bc758495 uprev mkdocs Samuel Colvin 2022-07-19 10:51:15 +01:00
  • a21f0763ee Improved example ind models doc (#4231) Dror Atariah 2022-07-18 09:06:31 +02:00
  • 228e46de35 Update docs for dotenv env_file not checking parent directories (#4150) Amin Alaee 2022-07-14 18:39:28 +02:00
  • f529e0d354 Update index.md (#4227) Marcelo Trylesinski 2022-07-11 10:36:46 +02:00
  • fd2991fe6a Fix typo on unique_items param of Field doc (#3857) Vitor Martins 2022-07-06 15:59:40 -03:00
  • 6ceff2eea2 Add Pyupgrade (#4214) Hasan Ramezani 2022-07-06 08:52:01 +02:00
  • 962ea8bf21 Add docs for defining upper-case variables on nested setting models (#4153) Amin Alaee 2022-07-05 20:04:46 +02:00
  • bf4b63e6c3 build(deps): bump cython from 0.29.28 to 0.29.30 (#4129) dependabot[bot] 2022-07-04 23:11:25 +02:00
  • 058d4a52ee Tweak documentation (#4143) Jochen Kupperschmidt 2022-07-04 22:53:11 +02:00
  • 5e959720e3 Add Hasan Ramezani(hramezani) to label-assign workflow reviewers (#4207) Hasan Ramezani 2022-07-04 19:53:47 +02:00
  • 51e056e832 build(deps): bump actions/setup-python from 3 to 4 (#4196) dependabot[bot] 2022-07-03 15:45:31 +02:00
  • e4b2a91e53 build(deps): bump pytest-mock from 3.7.0 to 3.8.1 (#4201) dependabot[bot] 2022-07-03 15:44:48 +02:00
  • 1f29a02074 build(deps): bump mkdocs-material from 8.2.14 to 8.3.8 (#4202) dependabot[bot] 2022-07-03 15:44:19 +02:00
  • ee399e82c4 build(deps): bump black from 22.3.0 to 22.6.0 (#4203) dependabot[bot] 2022-07-03 15:43:36 +02:00
  • 62045555bf build(deps): bump typing-extensions from 4.2.0 to 4.3.0 (#4200) dependabot[bot] 2022-07-03 15:41:09 +02:00
  • c375ee1f08 build(deps): bump coverage from 6.3.2 to 6.4.1 (#4198) dependabot[bot] 2022-07-03 14:01:14 +02:00
  • 84fa634793 build(deps): bump twine from 4.0.0 to 4.0.1 (#4126) dependabot[bot] 2022-07-03 13:24:34 +02:00
  • 65bbfa0848 build(deps): bump hypothesis from 6.46.3 to 6.48.2 (#4199) dependabot[bot] 2022-07-03 13:18:05 +02:00
  • 33ae990c76 Fix model_config documentation (#4179) Ben Nuttall 2022-07-03 12:15:54 +01:00
  • d7593368c7 Fix typo in models.md (#4145) Tetsuo Kiso 2022-07-03 20:11:56 +09:00
  • 8846ec4685 limit the length of generics._limit_assigned_parameters (#4083) Samuel Colvin 2022-05-18 15:22:58 +01:00
  • 5a61292252 Adds dataclass_transform to dataclass (#4007) Giuliano Oliveira 2022-05-18 07:19:25 -04:00
  • 467d6b468f adding sponsors to index page of docs (#4074) Samuel Colvin 2022-05-18 12:18:27 +01:00
  • abea8232ee speedup __instancecheck__ check on BaseModel when they fail (#4081) Samuel Colvin 2022-05-17 14:13:36 +01:00
  • a7e896c5a3 Update Jupyter's use of pydantic (#4082) David Brochart 2022-05-16 12:26:31 +02:00
  • cc54acb612 Fix missing port in HttpUrl.build() result (#3652) Maxim Martynov 2022-05-14 19:35:39 +03:00
  • 122dd2f24e fix ClassVars, better fix for #3679 (#4077) Samuel Colvin 2022-05-14 17:27:52 +01:00
  • f69012a5aa fix: error checking inheritance when using PEP585 and PEP604 type hints (#3681) Alex 2022-05-14 18:26:12 +02:00
  • 9baec86270 try speeding up ci using caching and rearranging jobs (#3974) Samuel Colvin 2022-05-14 15:32:53 +01:00