Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-dataclasses

Correct way to initialize an Optional Dict with type hint in Python3?

Exclude some attributes from __str__ representation of a dataclass

python python-dataclasses

Python how to access dataclass properties in list of dataclasses

python python-dataclasses

Dataclass Optional Field that is Inferred if Missing

Is there a way to make an inherited abstract property a required constructor argument in a Python dataclass?

Utilizing a dataclass and enum together

Define a custom Type that behaves like typing.Any

How do I pull out the attributes or field names from a dataclass?

python python-dataclasses

Create recursive dataclass with self-referential type hints

Abbreviating dataclass decorator without losing IntelliSense

Reference class type in dataclass definition

Update a field in a dataclass with a field name known only during runtime

python python-dataclasses

How to evolve a dataclass in python?

python python-dataclasses

dataclasses.asdict() not working as expected

Calling generated `__init__` in custom `__init__` override on dataclass

Dataclasses: Require at least one value to be set in grouping of model fields

Python frozen dataclass, allow changing of attribute via method

python python-dataclasses

Dataclass argument choices with a default option

Create a typing from a custom dataclass

Avoiding type warning for lists of sortable elements