-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
First let me apologise for the lack of specificity atm. I'm writing this at the end of my work day after I worked around the issue, so I'm writing this from memory. I do hope to come back and fill in …
-
# Dataclasses Considered Sweet | The When of Python Blog
Dataclasses are versatile and they're a crucial part of Python. Firstly, as a great data structure - somewhere orderly and documented to store…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
When using generic Pydantic dataclasses, fields are not properly parsed into Pydantic models.
When the `TypeVar` is un…
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this f…
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
Pydantic dataclasses cannot be used as Annotated Validators. The TypeError happens at class the definition.
I wanted…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
Pydantic type check fails with mocks of generics
```
Input should be an instance of DX [type=is_instance_of, inpu…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
I would like to generate a schema for a library built from stdlib dataclasses (not pydantic dataclasses). I would also…
-
# Bug report
In Python 3.11, raising a frozen dataclass as an exception inside a `contextlib.contextmanager` context will raise a `dataclasses.FrozenInstanceError` exception. This issue does not oc…