-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Comparing changes
Open a pull request
base repository: pydantic/pydantic
base: v2.10.0
head repository: pydantic/pydantic
compare: v2.10.2
- 19 commits
- 23 files changed
- 3 contributors
Commits on Nov 22, 2024
-
Use the correct frame when instantiating a parametrized
TypeAdapter
(……#10893) Move all the documentation into the class docstring, rewrite some small parts of it.
Configuration menu - View commit details
-
Copy full SHA for 00bbb91 - Browse repository at this point
Copy the full SHA 00bbb91View commit details -
Relax check for validated data in default factory utils (#10909)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bff29ab - Browse repository at this point
Copy the full SHA bff29abView commit details -
Fix type checking issue with
model_fields
and `model_computed_field……s` (#10911) Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a2acc52 - Browse repository at this point
Copy the full SHA a2acc52View commit details -
Use the parent configuration during schema generation for stdlib data…
…classes (#10928) Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4def331 - Browse repository at this point
Copy the full SHA 4def331View commit details -
Use the
globals
of the function when evaluating the return type of ……serializers and computed_fields (#10929)
Configuration menu - View commit details
-
Copy full SHA for 71168ba - Browse repository at this point
Copy the full SHA 71168baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6153054 - Browse repository at this point
Copy the full SHA 6153054View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45bd7a7 - Browse repository at this point
Copy the full SHA 45bd7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30b31da - Browse repository at this point
Copy the full SHA 30b31daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0fc82f - Browse repository at this point
Copy the full SHA e0fc82fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c75404 - Browse repository at this point
Copy the full SHA 4c75404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 369b355 - Browse repository at this point
Copy the full SHA 369b355View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e60fa - Browse repository at this point
Copy the full SHA 17e60faView commit details
Commits on Nov 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6fc7fc - Browse repository at this point
Copy the full SHA d6fc7fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c0ed72 - Browse repository at this point
Copy the full SHA 7c0ed72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 869eafd - Browse repository at this point
Copy the full SHA 869eafdView commit details -
Fix type hint of
Field.default
to be compatible with Python 3.8 and…… 3.9 (#10972) For Python < 3.10, we define `EllipsisType = type(Ellipsis)` in `_typing_extra`. `EllipsisType` is then used in a type expression but pyright raises an error because `EllipsisType` is defined as variable. Instead, we make use of the `ellipsis` builtin, only available for type checkers (defined in typeshed) as a compatibility hack.
Configuration menu - View commit details
-
Copy full SHA for a9cf39c - Browse repository at this point
Copy the full SHA a9cf39cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02229a6 - Browse repository at this point
Copy the full SHA 02229a6View commit details -
Hide
BaseModel.__replace__
definition from type checkers (#10979)Because we make use of `@dataclass_transform()`, the method is synthesized by type checkers already. This fixes an issue with mypy and the Pydantic plugin, as the plugin removes the `dataclass_transform` spec from `BaseModel` subclasses, but not for `RootModel` which uses a different metaclass, and led to override issues with the synthesized `__replace__` for root models and the `BaseModel.__replace__` definition.
Configuration menu - View commit details
-
Copy full SHA for 226cfaf - Browse repository at this point
Copy the full SHA 226cfafView commit details -
Prepare for v2.10.2 release (#10982)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fe32515 - Browse repository at this point
Copy the full SHA fe32515View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.10.0...v2.10.2