Commit Graph

  • b246bc6859 update mypy ci (#4073) Samuel Colvin 2022-05-14 12:31:29 +01:00
  • 3e9cd71325 build(deps): bump mypy from 0.942 to 0.950 (#4062) dependabot[bot] 2022-05-14 09:32:54 +01:00
  • 8718db581d Fix JSON Schema generation for Discriminated Unions within lists. (#4071) Samuel Colvin 2022-05-14 07:26:34 +01:00
  • f419710381 Fix typo # pylance: ignore > # pyright: ignore (#4072) Blake Naccarato 2022-05-13 11:10:55 -07:00
  • 268588b08d build(deps): bump mkdocs-material from 8.2.8 to 8.2.14 (#4063) dependabot[bot] 2022-05-13 16:29:06 +01:00
  • e5540296cc Fix issue with in-place modification of FieldInfo (#4067) Adrian Garcia Badaracco 2022-05-13 09:16:32 -05:00
  • a45276d6b1 guard against ClassVar in fields (#4064) Samuel Colvin 2022-05-13 15:06:53 +01:00
  • 42acd8f8d2 Fix issue with self-referencing dataclass (#3713) Yurii Karabas 2022-05-11 21:09:13 +03:00
  • faee3301eb Fix regression in handling of nested dataclasses in get_flat_models_from_field (#3819) Luis R 2022-05-11 20:02:37 +02:00
  • 74403c2f15 test pyright with pydantic (#3972) Samuel Colvin 2022-05-11 19:00:37 +01:00
  • dc07bc5a49 build(deps): bump pre-commit from 2.17.0 to 2.19.0 (#4061) dependabot[bot] 2022-05-11 18:56:21 +01:00
  • a1b7aa2a63 build(deps): bump hypothesis from 6.41.0 to 6.46.3 (#4059) dependabot[bot] 2022-05-11 18:56:10 +01:00
  • 150ee62d4a build(deps): bump email-validator from 1.1.3 to 1.2.1 (#4060) dependabot[bot] 2022-05-11 18:56:01 +01:00
  • d128f45077 build(deps): bump actions/download-artifact from 2 to 3 (#4034) dependabot[bot] 2022-05-11 18:00:51 +01:00
  • b826ff65ec build(deps): bump actions/upload-artifact from 2 to 3 (#4035) dependabot[bot] 2022-05-11 18:00:41 +01:00
  • 59dffb6942 build(deps): bump pytest from 7.1.1 to 7.1.2 (#4037) dependabot[bot] 2022-05-11 18:00:29 +01:00
  • 3726059610 build(deps): bump mkdocs-material from 8.2.8 to 8.2.12 (#4038) dependabot[bot] 2022-05-11 18:00:13 +01:00
  • 7392d2ea85 build(deps): bump typing-extensions from 4.1.1 to 4.2.0 (#4040) dependabot[bot] 2022-05-11 17:59:22 +01:00
  • 5490ad5173 fix: Config.copy_on_model_validation does a deep copy and not a shallow one (#3642) Eric Jolibois 2022-05-11 18:03:48 +02:00
  • 8997cc5961 Remove benchmarks completely (#3973) Samuel Colvin 2022-04-04 13:29:17 +01:00
  • b25e22f7d4 [no ci] correct name of change file Samuel Colvin 2022-04-04 13:22:07 +01:00
  • 7f90b2f342 Remove incorrect comment about lazy evaluation of setting sources (#3806) Gary Donovan 2022-04-03 01:25:43 +11:00
  • 36c53ceaa3 Fix pytest crashes with hypothesis and pydantic (#3727) Stefan Scherfke 2022-04-02 16:11:48 +02:00
  • f96a6131a3 build(deps): bump mypy from 0.931 to 0.942 (#3968) dependabot[bot] 2022-04-02 14:50:07 +01:00
  • f0acf6efe7 Prevent subclasses of bytes being converted to bytes (#3707) Samuel Colvin 2022-04-02 14:45:31 +01:00
  • 55b34ef946 Add Robusta.dev to list of Pydantic users (#3715) Natan Yellin 2022-04-02 16:42:51 +03:00
  • 02eb182db0 fix: clarify that discriminated unions do not support singletons (#3639) Tom Milligan 2022-04-02 14:06:11 +01:00
  • 6e0f81c73f CentOS 7: read_text(encoding='utf-8') (#3625) Wong Hoi Sing Edison 2022-04-02 21:05:12 +08:00
  • df8b2e100f Combine dependabot prs (#3969) Samuel Colvin 2022-04-02 13:44:30 +01:00
  • 7c05a61e4a build(deps): bump pytest-mock from 3.6.1 to 3.7.0 (#3967) dependabot[bot] 2022-04-02 13:25:58 +01:00
  • b785f87aea build(deps): bump typing-extensions from 4.0.1 to 4.1.1 (#3874) dependabot[bot] 2022-04-02 13:25:51 +01:00
  • 9d29aabb9c build(deps): bump cython from 0.29.26 to 0.29.28 (#3871) dependabot[bot] 2022-04-02 13:25:43 +01:00
  • c12382d00f build(deps): bump twine from 3.7.1 to 4.0.0 (#3965) dependabot[bot] 2022-04-02 08:57:22 +01:00
  • d8054380d3 build(deps): bump pytest from 6.2.5 to 7.1.1 (#3926) dependabot[bot] 2022-04-02 08:57:08 +01:00
  • 19064138e4 build(deps): bump hypothesis from 6.31.6 to 6.41.0 (#3964) dependabot[bot] 2022-04-02 08:56:39 +01:00
  • 29b8052e4e build(deps): bump python-dotenv from 0.19.2 to 0.20.0 (#3963) dependabot[bot] 2022-04-02 08:56:28 +01:00
  • bf5fdfc618 build(deps): bump black from 21.12b0 to 22.3.0 (#3950) dependabot[bot] 2022-04-02 08:35:55 +01:00
  • 90628e1c2b docs: fix typo in settings management page (#3781) Guilhem C 2022-04-01 20:47:05 +02:00
  • d7a8272d7e build(deps): bump mypy from 0.930 to 0.931 (#3656) dependabot[bot] 2022-03-01 23:30:57 +00:00
  • 9967f0ebe3 build(deps): bump pre-commit from 2.16.0 to 2.17.0 (#3731) dependabot[bot] 2022-03-01 22:37:59 +00:00
  • f3f2408e2d Fixed a typo in decimal_encoder's doc. (#3820) Gin Cui 2022-03-01 17:37:09 -05:00
  • b90e128175 build(deps): bump coverage from 6.2 to 6.3.2 (#3839) dependabot[bot] 2022-03-01 22:35:04 +00:00
  • 1fb438bc0b build(deps): bump mkdocs-material from 8.1.3 to 8.2.3 (#3865) dependabot[bot] 2022-03-01 22:34:35 +00:00
  • 2b0d4d90eb build(deps): bump actions/checkout from 2 to 3 (#3869) dependabot[bot] 2022-03-01 22:33:43 +00:00
  • 2c980eaf60 build(deps): bump actions/setup-python from 2 to 3 (#3868) dependabot[bot] 2022-03-01 22:33:04 +00:00
  • 9d631a3429 fix(ci): update fastapi tests (#3690) Eric Jolibois 2022-01-17 22:30:39 +01:00
  • 6f46a5a146 drop python3.6 support (#3605) Samuel Colvin 2022-01-02 13:53:45 +00:00
  • fbf8002cef prepare for v1.9.0 release, extra change Samuel Colvin 2021-12-31 15:02:06 +00:00
  • 5406423268 prepare for v1.9.0 release Samuel Colvin 2021-12-31 14:53:14 +00:00
  • 87da9ac23f apply update_forward_refs to json_encoders (#3595) Samuel Colvin 2021-12-31 14:44:09 +00:00
  • 6f26a1ce18 Support mypy 0.910 to 0.930 including CI tests (#3594) Samuel Colvin 2021-12-30 13:49:43 +00:00
  • 8ef492b85f build(deps): bump mypy from 0.920 to 0.930 (#3573) Eric Jolibois 2021-12-29 17:51:35 +01:00
  • 2d3d266d0a remove failing release step Samuel Colvin 2021-12-29 16:39:36 +00:00
  • ef4678999f add step to upload pypi files to release Samuel Colvin 2021-12-24 14:07:08 +00:00
  • 5d6f48cb07 prepare for v1.9.0a2 Samuel Colvin 2021-12-24 13:54:35 +00:00
  • e8822775e3 fix: support generic models with discriminated union (#3551) Eric Jolibois 2021-12-24 14:17:39 +01:00
  • edad0dbc46 fix: keep old behaviour of json() by default (#3542) Eric Jolibois 2021-12-24 14:14:13 +01:00
  • e14e7561ed build(deps): bump mypy from 0.910 to 0.920 (#3552) dependabot[bot] 2021-12-24 13:11:05 +00:00
  • 5ce652bf84 build(deps): bump cython from 0.29.25 to 0.29.26 (#3553) dependabot[bot] 2021-12-24 13:10:57 +00:00
  • 30015aca95 build(deps): bump hypothesis from 6.31.4 to 6.31.6 (#3554) dependabot[bot] 2021-12-24 13:10:50 +00:00
  • 06bfbc8ec3 build(deps): bump mkdocs-material from 8.1.1 to 8.1.3 (#3555) dependabot[bot] 2021-12-24 13:10:43 +00:00
  • 81b13ff3b4 fix: rename schema util into schema_of (#3547) Eric Jolibois 2021-12-22 20:42:56 +01:00
  • fe2a5e2170 fix: smart union with typeddict (#3543) Eric Jolibois 2021-12-22 20:39:18 +01:00
  • c532e8324e #3234 exclude extra field when represent model (#3241) Hyun Sol 2021-12-20 01:08:26 +09:00
  • 93faefb4a9 fix: nested ORM from nested dictionaries (#3182) Eric Jolibois 2021-12-19 11:41:51 +01:00
  • 5ad73d0388 fix: models copied via Config.copy_on_model_validation always have all fields (#3201) Eric Jolibois 2021-12-19 11:37:30 +01:00
  • da916f369e Remove __root__ from BaseModel typing-only attrs (#3540) layday 2021-12-19 12:24:52 +02:00
  • 0f961d4595 fix link to discriminated union section Eric Jolibois 2021-12-19 09:04:19 +01:00
  • a6692d177b Build Python 3.10 wheels (#3539) Marcin Bachry 2021-12-19 00:43:22 +01:00
  • 5de27ca465 update history and uprev version Samuel Colvin 2021-12-18 21:18:37 +00:00
  • be246701c5 Nested env (#3159) Mark Trifonov 2021-12-19 00:56:14 +04:00
  • 63337fbadc Add optional field argument to __modify_schema__() (#3434) Jaakko Moisio 2021-12-18 22:55:22 +02:00
  • f36040a4a3 build(deps): bump twine from 3.7.0 to 3.7.1 (#3519) dependabot[bot] 2021-12-18 20:55:05 +00:00
  • b03d3ed2ca build(deps): bump hypothesis from 6.30.1 to 6.31.4 (#3520) dependabot[bot] 2021-12-18 20:54:58 +00:00
  • cd688f40a2 build(deps): bump mkdocs-material from 8.0.5 to 8.1.1 (#3518) dependabot[bot] 2021-12-18 20:54:49 +00:00
  • 49f946ddc3 Add support for removing TypeVarDef in mypy 0.920 (#3175) Christian Bundy 2021-12-18 12:53:51 -08:00
  • 7eaa582980 Add AmqpDsn class (#3254) Marcelo Trylesinski 2021-12-18 21:40:16 +01:00
  • c834f3419d Support discriminated union (#2336) Eric Jolibois 2021-12-18 17:31:35 +01:00
  • d36bb74e83 generate x86_64 and arm64 binaries to support MacOS M1 CPU (#3514) Samuel Colvin 2021-12-12 00:13:48 +00:00
  • e012089f12 Mention Python >= 3.9.2 as an alternative to typing_extensions.TypedDict (#3374) Bas van Beek 2021-12-11 22:44:09 +01:00
  • ce316cd0d3 add pre-commit (#3513) Eric Jolibois 2021-12-11 21:13:52 +01:00
  • 61d30aed7a Add support for decimal-specific configs in Field() (#3507) Sebastián Ramírez 2021-12-11 12:21:06 +01:00
  • 6ad80cd402 Allow None when using a Union containing Any or object (#3452) Toby Harradine 2021-12-11 05:41:37 +11:00
  • 91ecfd651e feat: Add unique items validation to constrained lists (#2618) Nuno André 2021-12-10 11:04:06 +01:00
  • afcd15522e fix: coverage PrettyWood 2021-12-09 09:55:45 +01:00
  • 15d0ae56c9 alter PR template Samuel Colvin 2021-12-08 23:50:37 +00:00
  • 043d16bcf8 Update validator function name in examples to show that value must b… (#3327) Michael Rios 2021-12-08 15:17:08 -08:00
  • d1a014542a fix: collect only valid fields in mypy plugin (#3247) Hiroshi Ogawa 2021-12-09 07:33:43 +09:00
  • dc4710b56c Replacing encode_default instance check with strict type check (#3197) João M. Martins 2021-12-08 22:52:25 +01:00
  • a3f180eb2b Make SecretsSettingsSource deserialize complex types (#3194) David Reed 2021-12-08 14:50:47 -07:00
  • 67bfbe3f44 feat: avoid dict coercion for subclasses (#3138) Eric Jolibois 2021-12-08 22:16:13 +01:00
  • 7421579480 fix weird edge case for is_none_type with python3.8 Samuel Colvin 2021-12-07 23:42:31 +00:00
  • 8c2c602c1b feat: add confrozenset() (#2672) Eric Jolibois 2021-12-07 23:11:42 +01:00
  • 458f257dcb feat: make JSON serialization of referenced pydantic models possible (#2650) Eric Jolibois 2021-12-07 23:01:11 +01:00
  • c38c463137 feat: add Config.smart_union option (#2092) Eric Jolibois 2021-12-07 22:58:52 +01:00
  • eef4ac505e Fix missing enum extra (#2818) Sam McHardy 2021-12-08 01:10:53 +11:00
  • 4996cd0da5 Change my username from MrMrRobat to Bobronium (#3450) Arseny Boykov 2021-12-07 13:22:10 +03:00
  • 4af50043f1 docs: Print name classes for __concrete_name__ example (#3470) q0w 2021-12-07 12:45:39 +03:00
  • 0ebea889f6 build(deps): bump requirements (#3495) Eric Jolibois 2021-12-07 10:36:41 +01:00
  • 415eb54f96 Try to evaluate forward refs after model created (#2588) Yurii Karabas 2021-12-05 16:20:48 +02:00