Search code examples
Dataclass inheriting using kw_only for all variables...


pythoninheritancepython-dataclasses

Read More
Should you decorate dataclass subclasses if not making additional fields...


pythonconventionspython-dataclasses

Read More
Is there a way to make an inherited abstract property a required constructor argument in a Python da...


pythonabstract-classpython-dataclassesrequired-field

Read More
Dataclass inheritance variables not working...


pythoninheritancepython-dataclasses

Read More
Validating detailed types in Python dataclasses...


pythonpython-typingpython-dataclasses

Read More
Python dataclass inheritance with default values...


pythoninheritancepython-dataclasses

Read More
Proper way to declare custom exceptions in modern Python?...


pythonpython-3.xexceptionpython-dataclasses

Read More
Load attribute value from a dictionary containing an invalid name...


pythonpython-dataclasses

Read More
The better way to read a formated data from .TXT file strings in Python...


pythonstringfile-ioarchitecturepython-dataclasses

Read More
Abbreviating dataclass decorator without losing IntelliSense...


pythonpython-typingpython-dataclassespyright

Read More
Pydantic unknown type during serialization...


pythonserializationpython-dataclassespydantic-v2

Read More
Is it possible to have an inline-definition of a dataclass in Python?...


pythonpython-typingpython-dataclassespyright

Read More
How to get attributes and their type from a dataclass?...


pythonooppython-dataclasses

Read More
Reference class type in dataclass definition...


pythonpython-typingpython-dataclasses

Read More
Python: trying to access instance attributes in self.__setattr__...


pythonpropertiespython-dataclassessetattr

Read More
How to add a dataclass field without annotating the type?...


pythonpython-typingpython-dataclasses

Read More
How can I invert `dataclass.astuple`?...


pythonpython-dataclasses

Read More
How to avoid checking for None when setting Optional dataclass args in __post_init__...


pythonpython-typingmypypython-dataclasses

Read More
Use dataclass decorator in Flask-SQLAlchemy model class?...


pythonsqlalchemyflask-sqlalchemypython-dataclasses

Read More
Can python's annotation (e.g dataclass) be expanded into the code it produces?...


pythonpython-dataclasses

Read More
New annotations break inspection of dataclasses...


pythonpython-typingpython-dataclasses

Read More
Python inheritance with @dataclasses.dataclass and annotations...


pythoninheritancepython-typingpython-dataclasses

Read More
How to inherit (from a parent class) dataclass field introspection functionality?...


pythoninheritancepython-dataclassespython-class

Read More
Factory function for dataclass fields...


pythonpython-typingmypypython-dataclasses

Read More
How to declare an array or a list in a Python @dataclass?...


pythonpython-typingpython-dataclasses

Read More
Exclude some attributes from __str__ representation of a dataclass...


pythonpython-dataclasses

Read More
How to get callable class objects from self.__annotations__ with __future__ annotations?...


pythonpython-typingpython-dataclasses

Read More
mypy ignores wrong type in dataclass member...


pythonmypypython-typingpython-dataclasses

Read More
How to typehint dataclass field in function signature...


pythonpython-typingpython-dataclasses

Read More
Dataclass Optional Field that is Inferred if Missing...


pythonpython-typingpython-dataclasses

Read More
BackNext