-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: pydantic/pydantic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.10.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: pydantic/pydantic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.10.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 14 commits
- 20 files changed
- 2 contributors
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
Commits on Dec 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 10ebcdf - Browse repository at this point
Copy the full SHA 10ebcdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb962c1 - Browse repository at this point
Copy the full SHA cb962c1View commit details -
Use the globals of the function when evaluating the return type for `…
…PlainSerializer` and `WrapSerializer` functions (#11008)
Configuration menu - View commit details
-
Copy full SHA for b2c4548 - Browse repository at this point
Copy the full SHA b2c4548View commit details -
Configuration menu - View commit details
-
Copy full SHA for 435a703 - Browse repository at this point
Copy the full SHA 435a703View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa69b4c - Browse repository at this point
Copy the full SHA fa69b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d35bf - Browse repository at this point
Copy the full SHA 68d35bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c326748 - Browse repository at this point
Copy the full SHA c326748View commit details
Loading
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.1...v2.10.3