-
Making a note to create prototype Python class(es) to replace configuration YAML files.
Recommendations:
https://docs.python.org/3/library/dataclasses.html
pydantic data model https://docs.pydant…
-
In some projects, I use [pydantic.dataclasses](https://docs.pydantic.dev/latest/concepts/dataclasses/) to add validation to dataclass models.
This is useful on project that requires dataclasses but s…
-
It would be very nice to have some Dataclasses to improve consistency through the pipeline:
- `LambdaResponse`
to deal with lambda invocation reponse straight-forward without calling `rea…
-
### Feature request
Given a dataclass
```python
from dataclasses import dataclass
@dataclass
class Config:
item_type: str
item_length: int
```
I would expect `HfArgumentParser.par…
-
Thanks to @MASaraji for introducing such a useful thing to me.
You can use this to reduce lines of your code and making it more readable as well.
Here's a link:
https://docs.python.org/3/library/da…
-
### Description
1. Fields with descriptors as default values should be treated differently, as they do for the "vanilla" dataclasses
2. Fields with descriptors assigned as `field(default=CoolDescrip…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
I've been exploring the idea to parse pydantic models into a ORM object using custom serializer. For testing I've been …
-
**Feature description**
Result objects refactored to be dataclasses [1]. e.g. `OptimizerResult` [2] already looks like a dataclass.
**Motivation/Application**
- simpler code in pyPESTO
- benefit…
-
### Motivation: Why do you think this is important?
We pass around most of our configuration in flyte via python `@dataclass` as this makes it very easy for us to manage configuration and such. Unf…
-
ERROR: Could not find a version that satisfies the requirement dataclasses==0.8 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6)
ERROR: No matching distribution found for dataclasses==0.8
这个怎么解决啊,完全搜不到…