-
Annotating a `dataclass` with `@jaxtyped` makes creating instances of that class ~1000x slower.
This is especially problematic in cases where the entire package is jaxtyped with `install_import_hook(…
-
Python >= 3.7 has dataclasses as a built-in module. So, there is a conflict while executing `pip install -r requirements.txt` cmd.
Both numpy and typing-extension are outdated version, which leads …
-
# Dataclasses - Support use of Annotated including `field` as metainfo
`dataclasses` are great and I make extensive use of them but there is something which I always find non-matching. Example:
…
-
pybind11 talks of course about how to wrap C++ classes so that they are accessible in python. The issue for me is that on the python side of things, we are using dataclasses very extensively. They pro…
-
The `dataclasses` ecosystem is growing rapidly. Currently, it's not easy for attrs classes to benefit from the developments in the`dataclasses` ecosystem. It would be nice to fix this somehow.
Th…
-
### 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…
-
## 🚀 Feature request
The documentation [describes](https://jsonargparse.readthedocs.io/en/stable/index.html#dataclass-like-classes) how dataclass-like classes are "not expected to have subclasses",…
-
**What version of OR-Tools and what language are you using?**
Version: `main`
OS: Linux
CMake based build using python 3.13 linux runner
Trace:
```sh
...
136/447 Test #136: python_math_opt_model_stor…
Mizux updated
3 weeks ago
-
### Motivation: Why do you think this is important?
```
@dataclass
class MyOtherStruct:
i: int = 5
@workflow
def my_wf_with_defaults(a: MyOtherStruct) -> int:
return my_task()
```
…
-
# 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…