Victorien

Results 142 issues of Victorien

## Change Summary Requires: - https://github.com/python/cpython/issues/135646 ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be...

relnotes-fix

Fixes https://github.com/pydantic/pydantic/issues/11977. ## Change Summary ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be used...

relnotes-fix

## Change Summary ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be used in the...

relnotes-ignore

## Change Summary ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be used in the...

relnotes-fix

First 3.14 beta release is [planned on 2025-05-06](https://peps.python.org/pep-0745/#release-schedule) and PEP 649/749 is almost fully implemented. Considering the significant changes it provides to the runtime evaluation of type hints, we should...

## Change Summary Fixes https://github.com/pydantic/pydantic/issues/11728. I think we should also check if the title needs to be set, as it is done currently for model fields with (`field_title_should_be_set()` L1395): https://github.com/pydantic/pydantic/blob/944674a5c0e89f34a91f0bbefd524c89a4196403/pydantic/json_schema.py#L1383-L1396...

relnotes-fix

https://mkdocstrings.github.io/python/usage/configuration/headings/#parameter_headings

feature request

## Change Summary Fixes https://github.com/pydantic/pydantic/issues/11682. Currently, the `instantiation_hook` is required. We could also make it optional and by default populate the arbitrary class by e.g. calling `__new__()`. However, by doing...

relnotes-fix

```python from pydantic import TypeAdapter def func(a: int): pass TypeAdapter(func, config={'field_title_generator': lambda f_name, _: f_name + 'test'}).json_schema() {'additionalProperties': False, 'properties': {'a': {'title': 'A', 'type': 'integer'}}, 'required': ['a'], 'type': 'object'} ```

bug V2

## Change Summary Requires https://github.com/pydantic/pydantic-core/pull/1711. Example: ```python from pydantic import BaseModel from pydantic_core import UNSET class A(BaseModel): a: int | UNSET = UNSET a1 = A() a1.model_dump() #> {} a2...

relnotes-feature
needs-blogpost-entry