Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-dataclasses

Why can't I override `to_dict` method of a `dataclass` object that uses `dataclasses_json`?

can you make a regular python class frozen?

python python-dataclasses

Why can't I specify multiple types in a List in pydantic

New annotations break inspection of dataclasses

Why are type annotations needed in Python dataclasses?

Why does dataclass favour __repr__ over __str__?

python python-dataclasses

dataclasses: how to ignore default values using asdict()?

python python-dataclasses

Should dataclass use fields for attributes with only defaults?

python python-dataclasses

How to compare instances subclasses of @dataclass with same inheritance

Python dataclass AttributeError

python python-dataclasses

How to use a Python Dataclass in another class

Python Dataclass - getting metadata from attribute name

Python dataclass generate hash and exclude unsafe fields

python python-dataclasses

Dataclass object property alias

python python-dataclasses

Mocking UUID in Python dataclasses

Trying to reduce the verboseness of __post_init__ in a python dataclass