-
Right now, in v2, the behavior is the same as v1 where parametrizing a generic dataclass does not affect validation.
I think there is room for improvement with this, but it's not totally clear to m…
-
## 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…
-
```python
from dataclasses import dataclass, field
from dataclasses_json import DataClassJsonMixin, Exclude, config
@dataclass
class MyClass(DataClassJsonMixin):
my_field: int = field(metad…
-
As far as I can see the features were merged up-stream: https://github.com/speakeasy-api/dataclasses-json
-
Right now I use this hack for enums in columns:
```python
def yt_enum(yt_type: yt_type_info.Type | None = None):
def decorator(py_type: Type[EnumType]) -> Type[EnumType]:
_yt_type = …
-
# Feature or enhancement
### Proposal:
A really nice `__slots__` feature is the ability to provide a data dictionary in the form of docstrings. That is also available for `property` objects. …
-
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).
…
-
I'll handle translating the chapter `data classes` in the library.
josix updated
11 months ago
-
https://github.com/ROCm/composable_kernel/blob/acda4c5a3c34c13b71475fdd963e61182bba8a76/example/ck_tile/01_fmha/CMakeLists.txt#L12-L15
CMAKE issue after #1286
The cmake command:
> CXX=/opt/roc…
-
@mnabian Can we make an issue to refactor all these options to a common dataclass, which we can then instantiate with https://hydra.cc/docs/1.0/tutorials/structured_config/minimal_exampl…