-
**Is your feature request related to a problem? Please describe.**
Not really a problem per say. But many of our current models are frozen dataclasses. We try to keep them immutable by default. But u…
-
define base_config as a dataclass and then instantiate it with model_name, p, power_transform, etc. as needed
-
Using a bare `Final` special form with a default value, pyright will _not_ assume it is a normal field (probably because it assumes it is a `ClassVar`?):
Code sample in [pyright playground](https://p…
-
### Description
While Pydantic dataclasses have a `__dataclass_fields__` attribute, their users may have validation logic, `default_factory` configuration, and other settings that msgspec does not en…
-
AIM: replace nested dictionaries with appropriate data structures implemented as Python dataclasses.
Subtask of #276.
-
### What would you like to discuss?
In line with the same reasoning as #867, I could imagine us and other developers wanting an easier/more well-documented connection between building data package co…
-
### 🚀 The feature, motivation and pitch
Currently, a guard will be put for a frozen dataclass:
```
TORCH_LOGS="+guards" python -c """from dataclasses import dataclass
import torch
@dataclass(fr…
-
[attrs](https://www.attrs.org/en/stable/) is a popular third-party package for defining dataclasses with additional convenient features (converters, more fine-grained initialization, etc.). Currently …
-
Hi, I really like this library for jax type annotations.
But for me one important use-case is missing, which is annotating added dimensions to custom pytree dataclasses.
Here is an example use cas…
-
Hi, I'm wondering if there can be support for type checking dataclasses? Currently, when I put `@typeguard.typechecked` on top of a dataclass definition, no checking happens (unless I'm mistaken).
…