Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-dataclasses

How do I document a constructor for a class using Python dataclasses?

Dataclasses and property decorator

How can I get Python 3.7 new dataclass field types?

Passing default list argument to dataclasses

Validating detailed types in python dataclasses

How can I make a python dataclass hashable without making them immutable?

Make the Python json encoder support Python's new dataclasses

python python-dataclasses

Python dataclass from a nested dict

Data Classes vs typing.NamedTuple primary use cases

Class inheritance in Python 3.7 dataclasses

How do I avoid the "self.x = x; self.y = y; self.z = z" pattern in __init__?

Type hints in namedtuple

What are data classes and how are they different from common classes?