-
dict is too opaque, pls add data class support
can devs do something??
here sample
```python
from dataclasses import dataclass
from typing import List
from datetime import datetime, timed…
-
# Feature or enhancement
Add the class `dataclasses.Dataclass` that
- supports instance and subclass checks using similar logic as `dataclasses.is_dataclass`, and
- blocks inheritance in `__init_…
-
Assuming an existing schema like:
```
@dataclass
class Child:
name: str
class Meta:
namespace = 'com.test'
and using this schema like:
@dataclass
class Parent:
name: st…
-
### Is your feature request related to a problem
No.
### The solution you would like
In a lot of our codebase we pass the typer arguments to a dataclass that we pass around the command-line t…
-
We should ensure that no mutable objects are argument defaults, e.g., lists, dicts.
All mutable defaults should be replaced by appropriate defaults, e.g., strings if applicable, or `None`, which in…
-
**Describe the bug**
Collections and forward references seem to work in isolation, or when used together _providing the typing.List style collection type annotation is used_. When using python 3.9 st…
-
### First check
- [X] I added a descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the Prefect documentation for this issue.
…
-
Just another suggestion: It's a Python 3.7 feature, but might be handy e.g. for the MassBalance class
See [PEP 557](https://www.python.org/dev/peps/pep-0557/)
-
I want taichi dataclass supports inheritance such that I can better origanize the frame of my code and improve readability
-
`pyright` is adding support for `attrs` classes in static type checking through a source-level extension mechanism called [dataclass transforms](https://github.com/microsoft/pyright/blob/master/specs/…