-
## Feature request
[Dataclasses](https://docs.python.org/3/library/dataclasses.html) I find are particularly useful containers for primatives such as model parameters. I have been writing up co…
-
Sometimes you have circular dataclasses. E.g.
```python
from pydantic import BaseModel
class Item(BaseModel):
name: str
price: int
sub_items: "list[Item]"
```
The library ca…
-
### Description of the bug
Griffe fails to parse the class init signature for pydantic dataclasses that allow extra kwargs.
The result is missing types in the documentation and everything marked as …
Vodes updated
3 weeks ago
-
### 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…
-
With https://github.com/Geet-George/halodrops/commit/2c102ec8c53c52eaa3391dd45643d372176d9733, the `Sonde` class has been converted to a frozen dataclass. The reasoning behind this change is probably …
-
Basically I want dataclasses to default to `frozen=True` and `slots=True` with the option to opt out.
The rule would require passing the `frozen` and `slots` warts (if the python version is new…
-
### Bug summary
Seems like griffe just released v1.0.0 that has breaking changes for fresh prefect installs. For example:
```
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site…
-
**Problem:** Task taking input of `dataclasses` object with `List[T]` will fail deserialization when the object definition is in postponed evaluation mode. The error is `ValueError: Only generic univa…
-
## Description
This was a suggestion, that we should replace `attrs` in distribution logic with `dataclasses`. I've personally never used them yet so I'm not sure how much work it is, but it looks si…
-
After updating pydantic, it was no longer possible to use the `__pydantic_model__` attribute (pydantic.dataclasses.dataclass). Is it possible to create schemas dynamically from dataclasses.