GitHub / pydantic/pydantic issues and pull requests
#12060 - Call all after model validators before raising validation errors
Issue -
State: open - Opened by Viicos 17 days ago
Labels: feature request
#12059 - Memory leaks in TypeAdapter.validate_python() cause cumulative RAM growth during cyclic batch processing
Issue -
State: open - Opened by ytyt-lead 18 days ago
- 1 comment
Labels: bug V2, pending, awaiting author response
#12058 - Add new postgres protocol according to sqlalchemy docs
Pull Request -
State: closed - Opened by MuslimBeibytuly 18 days ago
- 2 comments
Labels: relnotes-fix
#12057 - Pydantic crashes when serializing two references to the same `TypeAliasType` with `json_schema_mode_override="serialization"`
Issue -
State: open - Opened by ntjess 18 days ago
- 1 comment
Labels: bug V2
#12056 - A new marker API
Issue -
State: open - Opened by Viicos 19 days ago
Labels: feature request, feedback wanted, topic-serialization, topic-validation
#12055 - $defs has invalid entry names when using ref_template (json_schema)
Issue -
State: open - Opened by devkral 19 days ago
Labels: bug V2, pending
#12054 - StringConstraints - strictness is not respected
Issue -
State: closed - Opened by dhofstetter 20 days ago
- 1 comment
Labels: bug V2, pending
#12053 - args substitution for multilevel generic typed model
Issue -
State: closed - Opened by anand817 20 days ago
- 3 comments
Labels: bug V2, pending
#12051 - Refactor logic to support Pydantic's `Field()` function in dataclasses
Pull Request -
State: open - Opened by Viicos 20 days ago
- 3 comments
Labels: relnotes-fix, third-party-tests, needs-blogpost-entry
#12050 - migrate brand
Pull Request -
State: open - Opened by GSemikozov 20 days ago
- 4 comments
Labels: relnotes-fix
#12050 - Migrate branding
Pull Request -
State: closed - Opened by GSemikozov 20 days ago
- 5 comments
Labels: relnotes-fix
#12049 - Support general durations for time offsets in the same way python datetime does
Issue -
State: open - Opened by joekiller 21 days ago
Labels: feature request
#12048 - Turn on validation for base64 decoding of Base64Bytes.
Pull Request -
State: open - Opened by rjpower 21 days ago
- 2 comments
Labels: relnotes-fix
#12047 - Base64Bytes doesn't validate bytes are valid base64
Issue -
State: open - Opened by rjpower 21 days ago
Labels: bug V2, pending
#12046 - model_validate return mismatch instance object when pass subclass instance
Issue -
State: open - Opened by pyfreyr 21 days ago
Labels: bug V2, pending
#12045 - Dataclass field inconsistencies
Issue -
State: open - Opened by Viicos 21 days ago
Labels: bug V2
#12044 - Date validation error
Issue -
State: closed - Opened by Rigel772 23 days ago
- 1 comment
Labels: bug V2, pending
#12043 - Dependency updates
Issue -
State: closed - Opened by Houbein 23 days ago
- 1 comment
Labels: feature request
#12040 - Pickle and unpickle a dynamic created model instance raise Error building `function-after` serializer: KeyError: 'type'
Issue -
State: open - Opened by hieubnt235 26 days ago
- 1 comment
Labels: bug V2, pending, awaiting author response
#12038 - Proposal: Subclass-tracking dynamic base models
Issue -
State: closed - Opened by psalvaggio 27 days ago
- 1 comment
Labels: feature request
#12034 - Issue with using Pydantic V2 and FastAPI
Issue -
State: closed - Opened by AniGarikipati 28 days ago
- 1 comment
#12033 - Bump dawidd6/action-download-artifact from 10 to 11
Pull Request -
State: closed - Opened by dependabot[bot] 29 days ago
- 3 comments
Labels: relnotes-packaging, dependencies, github_actions
#12032 - AwareTimestamp is not working as expected
Issue -
State: closed - Opened by mlasevich 29 days ago
- 5 comments
Labels: bug V2, pending
#12031 - Add get_dynamic_class_hook to create_model in pydantic mypy plugin
Issue -
State: open - Opened by albertferras-vrf 29 days ago
Labels: feature request, topic-mypy plugin
#12030 - Union of Enum and StringConstraints(to_lower=True) always give lowercase string
Issue -
State: open - Opened by slingshotsys 30 days ago
Labels: bug V2, pending
#12029 - JSON schema for enum of lists missing `items` parameter
Issue -
State: open - Opened by pranjalv123 30 days ago
- 1 comment
Labels: feature request
#12028 - Emit warning when field-specific metadata is used in invalid contexts
Pull Request -
State: open - Opened by Viicos 30 days ago
- 8 comments
Labels: relnotes-change, third-party-tests, needs-blogpost-entry
#12027 - Millisecond timestamps with fractions not interpreted properly
Issue -
State: open - Opened by ollz272 30 days ago
- 4 comments
Labels: bug V2, pending
#12025 - Fix JSON Schema for Annotated type aliases with defaults
Pull Request -
State: closed - Opened by dariomory about 1 month ago
- 4 comments
Labels: ready for review, relnotes-fix
#12024 - JSON Schema inconsistently sets Annotated type aliases as required or not
Issue -
State: closed - Opened by orcharddweller about 1 month ago
- 3 comments
Labels: bug V2, pending
#12023 - Allow customization of JSON Schema references/definitions behavior
Issue -
State: open - Opened by Viicos about 1 month ago
Labels: feature request, topic-json schema
#12022 - Add pydantic V1/V2 Pickle compatibility
Pull Request -
State: closed - Opened by BEMELON about 1 month ago
- 1 comment
#12021 - Typecheck error with with_config and pyright
Issue -
State: closed - Opened by robtaylor about 1 month ago
- 6 comments
Labels: bug V2, pending
#12020 - Attribute with Union typehint is parsed differently when using model_validator and model_read_file
Issue -
State: open - Opened by hhalaby about 1 month ago
- 4 comments
Labels: bug V2
#12018 - Rewrite serialization documentation
Pull Request -
State: open - Opened by Viicos about 1 month ago
- 3 comments
Labels: documentation
#12017 - Include model instance in `SerializationInfo`?
Issue -
State: open - Opened by sneakers-the-rat about 1 month ago
- 2 comments
Labels: feature request
#12016 - Object of type SecretStr is not JSON serializable
Issue -
State: closed - Opened by wonboyn about 1 month ago
- 4 comments
Labels: bug V2, pending
#12015 - Set back default target of Makefile
Pull Request -
State: closed - Opened by lukland about 1 month ago
- 5 comments
Labels: relnotes-ignore
#12014 - Fix: default target of Makefile
Pull Request -
State: closed - Opened by lukland about 1 month ago
- 1 comment
Labels: relnotes-fix
#12013 - PydanticCustomError is not honoured as a valid error in nested models
Issue -
State: closed - Opened by ben-alexander about 1 month ago
- 3 comments
Labels: bug V2, pending, awaiting author response
#12012 - pydantic.errors.PydanticUserError
Issue -
State: closed - Opened by lixinyue11 about 1 month ago
- 2 comments
Labels: bug V2, pending, awaiting author response
#12011 - Lazily apply unsubstituted type variables in core schema generation
Issue -
State: open - Opened by Viicos about 1 month ago
Labels: feature request, topic-generics
#12009 - False positive "Mutable default" warning when using default_factory=dict in Pydantic 2.11.7
Issue -
State: closed - Opened by ymb812 about 1 month ago
- 1 comment
Labels: bug V2, pending
#12008 - Make `Secret` covariant
Pull Request -
State: closed - Opened by bluenote10 about 1 month ago
- 5 comments
Labels: relnotes-change
#12007 - `Secret` is unnecessarily invariant, can be made covariant
Issue -
State: closed - Opened by bluenote10 about 1 month ago
Labels: feature request
#12006 - TypeError: The core schema type 'any' is not a valid discriminated union variant when a Generic model’s parameter is an Annotated[...] alias that adds Field(discriminator=...)
Issue -
State: closed - Opened by danilohorta about 1 month ago
- 6 comments
Labels: bug V2, pending, awaiting author response
#12005 - RuntimeError: Unable to apply constraint 'host_required' to schema of type 'function-wrap'
Issue -
State: closed - Opened by Adity-star about 1 month ago
- 3 comments
Labels: bug V2, pending
#12004 - website docs.pydantic.dev shows Invalid certificate authority
Issue -
State: closed - Opened by rantoniuk about 1 month ago
- 1 comment
#12002 - Suppress core schema generation warning when using `SkipValidation`
Pull Request -
State: closed - Opened by ygsh0816 about 1 month ago
- 3 comments
Labels: relnotes-fix
#12001 - feat: add `__qualname__` argument for `create_model`
Pull Request -
State: open - Opened by Atry about 1 month ago
- 2 comments
Labels: relnotes-fix
#12000 - Failed to resolved ForwardRef defined in a super class
Issue -
State: open - Opened by Atry about 1 month ago
- 2 comments
Labels: bug V2, pending
#11997 - pydantic.SkipValidation not properly suppressing warning
Issue -
State: open - Opened by thedch about 1 month ago
- 4 comments
Labels: help wanted, bug V2, good first issue
#11996 - Makefile default target
Issue -
State: closed - Opened by lukland about 1 month ago
Labels: bug V2, pending
#11995 - Should we be able to explicitly set a field as `pydantic_core.PydanticUndefined` ?
Issue -
State: open - Opened by luizbezerra-pinheiro about 1 month ago
- 2 comments
Labels: feature request, topic-unset
#11994 - Fix for json schema enum key
Pull Request -
State: closed - Opened by coder-aditi about 1 month ago
- 1 comment
Labels: relnotes-fix
#11993 - Solved JSON schema invalid for an enum used as a key in a dictionary
Pull Request -
State: closed - Opened by coder-aditi about 1 month ago
- 3 comments
Labels: relnotes-fix
#11992 - StrEnum with default value and config.use_enum_values=True is not correct
Issue -
State: closed - Opened by albertferras-vrf about 1 month ago
- 3 comments
Labels: bug V2, pending
#11991 - Add initial support for Python 3.14
Pull Request -
State: closed - Opened by Viicos about 1 month ago
- 3 comments
Labels: relnotes-feature, third-party-tests, needs-blogpost-entry
#11990 - `@field_validator` cannot be applied to instance methods error wrongly suppressed
Issue -
State: closed - Opened by rajeee about 1 month ago
- 1 comment
Labels: bug V2, pending
#11988 - Do not emit typechecking error for invalid `Field()` default with `validate_default` set to `True`
Pull Request -
State: closed - Opened by Viicos about 1 month ago
- 3 comments
Labels: relnotes-fix
#11987 - Add regex patterns to JSON schema for `Decimal` type
Pull Request -
State: closed - Opened by Dima-Bulavenko about 1 month ago
- 8 comments
Labels: ready for review, awaiting author revision, relnotes-feature
#11986 - Unable to generate pydantic-core schema for the Union of parent and child Python classes
Issue -
State: closed - Opened by korawica about 1 month ago
- 1 comment
Labels: bug V2, pending
#11985 - Fix Pyright warning
Pull Request -
State: closed - Opened by Viicos about 1 month ago
- 3 comments
Labels: relnotes-ignore
#11984 - Add evaluation context
Pull Request -
State: open - Opened by Viicos about 1 month ago
- 2 comments
Labels: relnotes-fix
#11982 - Add `flake8-pie` Ruff rules
Pull Request -
State: closed - Opened by cclauss about 2 months ago
- 5 comments
Labels: relnotes-ignore
#11981 - Prepare release v2.11.7
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 4 comments
Labels: relnotes-fix, backport-2.11
#11980 - Copy `FieldInfo` instance if necessary during `FieldInfo` build
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 3 comments
Labels: relnotes-fix
#11978 - Error building schema with tagged generic enums in 2.11.6
Issue -
State: closed - Opened by javitonino about 2 months ago
- 2 comments
Labels: bug V2
#11977 - Do not raise type checker error in `Field()` function when `validate_default=True`
Issue -
State: closed - Opened by Eldalie about 2 months ago
- 1 comment
Labels: feature request
#11976 - `float('nan')` not correctly serialized in JSON mode in some cases
Issue -
State: closed - Opened by Viicos about 2 months ago
- 1 comment
Labels: bug V2, pending
#11975 - `DecoratorInfos.build()` is unnecessarily slow
Issue -
State: open - Opened by elprans about 2 months ago
- 1 comment
Labels: feature request, topic-performance
#11974 - Prepare release v2.11.6
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 4 comments
Labels: relnotes-fix, backport-2.11
#11972 - False negatives reported on timezone-aware datetime comparisons after `.model_dump()` when there are also other inequalities
Issue -
State: closed - Opened by epgui about 2 months ago
- 1 comment
Labels: bug V2, pending
#11970 - error message "pydantic_core could not be loaded"
Issue -
State: closed - Opened by workflowsguy about 2 months ago
- 5 comments
Labels: bug V2, pending
#11969 - Allow a regular expression pattern to be used as a discriminator in a union
Issue -
State: open - Opened by palle-k about 2 months ago
Labels: feature request, topic-discriminated unions
#11968 - The JSON schema generated for a flag is not correct.
Issue -
State: open - Opened by Marijn-b about 2 months ago
- 1 comment
Labels: bug V2, pending
#11967 - JSON schema invalid for an enum used as a key in a dictionary
Issue -
State: open - Opened by Marijn-b about 2 months ago
- 2 comments
Labels: bug V2, pending
#11966 - Deep copy of a model containing a `set` has non-deterministic JSON serialization
Issue -
State: closed - Opened by michael-pplx about 2 months ago
- 2 comments
Labels: bug V2, pending
#11965 - `v2.11.*` breaks Enum compatibility
Issue -
State: closed - Opened by dylan-bakr about 2 months ago
- 1 comment
Labels: bug V2, pending
#11964 - Equality failures when using create_model or complex generics
Issue -
State: closed - Opened by aditya-biswas about 2 months ago
- 6 comments
Labels: bug V2, pending
#11963 - Bump `pydantic-core` to v2.35.1
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 4 comments
Labels: relnotes-packaging, needs-blogpost-entry
#11962 - validate_by_alias does not work with validate_call
Issue -
State: open - Opened by mg3146 about 2 months ago
- 1 comment
Labels: bug V2
#11961 - Make use of `parameter_headings` with mkdocstrings
Issue -
State: open - Opened by Viicos about 2 months ago
Labels: feature request
#11960 - [Error] '_SpecialForm' object has no attribute 'replace'
Issue -
State: closed - Opened by naitik-parekh about 2 months ago
- 4 comments
Labels: bug V2, pending
#11959 - Allow recursive calls for `model_validate` and `model_validate` overriding
Issue -
State: closed - Opened by astro-angelfish about 2 months ago
- 1 comment
Labels: feature request
#11958 - Memory leak when calling create_model repeatedly; add API to clear generated models
Issue -
State: closed - Opened by prasmussen15 about 2 months ago
- 1 comment
Labels: bug V2, pending
#11957 - Do not implicitly convert after model validators to class methods
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 3 comments
Labels: relnotes-change, third-party-tests
#11955 - model_copy with frozen=True copies cached_property cache, breaking immutability expectations
Issue -
State: open - Opened by ftrad about 2 months ago
- 4 comments
Labels: bug V2, pending
#11954 - Improve `PlainValidator` example
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 4 comments
Labels: relnotes-ignore
#11953 - Update PlainValidator docstring and migration docs for TypeError handling
Pull Request -
State: closed - Opened by nandsha about 2 months ago
- 4 comments
Labels: relnotes-fix
#11951 - Fix #11926: Optimize datetime parsing logic
Pull Request -
State: closed - Opened by gaoyx111 about 2 months ago
- 2 comments
Labels: relnotes-fix
#11950 - dump-validation-roundtrip fails when using tuple as dictionary keys
Issue -
State: open - Opened by pmeier about 2 months ago
- 2 comments
Labels: bug V2, pending, v3
#11949 - Rebuild dataclass fields before schema generation
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 3 comments
Labels: relnotes-fix, third-party-tests, backport-2.11
#11948 - Document exceptions handled by `PlainValidator`'s callback (and handle `TypeError` as `ValueError` ?)
Issue -
State: closed - Opened by touilleMan about 2 months ago
- 1 comment
Labels: feature request, help wanted
#11947 - 2.11.0 fails to resolve forward ref (future annotation)?
Issue -
State: closed - Opened by pawamoy about 2 months ago
- 1 comment
Labels: bug V2, backport-2.11
#11946 - Always store the original field assignment on `FieldInfo`
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 3 comments
Labels: relnotes-fix, third-party-tests, backport-2.11
#11944 - Collision between attribute and class name
Issue -
State: closed - Opened by hginzel about 2 months ago
- 2 comments
Labels: bug V2, pending
#11942 - Add `ValidateFrom` annotation helper
Pull Request -
State: open - Opened by Viicos about 2 months ago
- 4 comments
Labels: relnotes-fix
#11941 - Allow callable discriminator to be applied on PEP 695 type aliases
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 3 comments
Labels: relnotes-fix
#11940 - Remove unneeded logic in `UuidVersion`
Pull Request -
State: closed - Opened by Viicos about 2 months ago
- 3 comments
Labels: relnotes-ignore