Search code examples
How do I declare custom exceptions in modern Python?...


pythonpython-3.xexceptionpython-dataclassespep352

Read More
python3 dataclass with **kwargs(asterisk)...


pythonpython-3.7python-dataclasses

Read More
Python dataclass inheritance with class variables...


pythoninheritanceclass-variablespython-dataclasses

Read More
Python: Use nested dict to create class of nested dataclass...


pythonpython-3.xpydanticpython-dataclasses

Read More
How can I define a protocol for a class that contains a protocol field and use a dataclass implement...


pythonpython-dataclasses

Read More
How can I provide type hints while destructuring my class...


pythontuplespython-dataclasses

Read More
How to compare objects based on their superclass...


pythonpython-dataclasses

Read More
how to gracefully ignore non-matching keyword matching arguments in python dataclass...


pythonpython-3.xpython-dataclasses

Read More
How to use python descriptors with default_factory in dataclass...


pythonpython-dataclasses

Read More
Initializing a pydantic dataclass from json...


pythonpython-dataclassespydantic

Read More
Using a programmatically generated type in type hints...


pythonpython-typingpython-dataclasses

Read More
Inheritance with dataclasses...


pythoninheritanceabstractionpython-dataclasses

Read More
How to make an easily instantiable derivative attribute-only protocol class?...


pythonpython-typingpython-dataclasses

Read More
dataclasses: how to ignore None values using asdict()?...


pythonpython-dataclasses

Read More
Issue regarding overlap of memory allocation for separate dataclasses...


pythonpointersmemoryctypespython-dataclasses

Read More
Avoid explicit `default` keyword in Python's dataclass field...


pythonfieldpython-dataclasses

Read More
Easiest way to copy all fields from one dataclass instance to another?...


pythonpython-dataclasses

Read More
Python frozen dataclass, allow changing of attribute via method...


pythonpython-dataclasses

Read More
Call the generated __init__ from custom constructor in dataclass for defaults...


pythonpython-dataclasses

Read More
What are data classes and how are they different from common classes?...


pythonclasspython-3.7python-dataclasses

Read More
Python @dataclasses(slots=True) breaks super()...


pythoninheritancepython-dataclasses

Read More
How to make my dataclass compatible with ctypes and not lose the “dunder“ methods?...


pythonctypespython-dataclasses

Read More
Counter-intuitive results when mixing dataclass and enum...


pythonenumspython-dataclasses

Read More
Class inheritance in Python 3.7 dataclasses...


pythonpython-3.xpython-3.7python-dataclasses

Read More
Make the Python json encoder support Python's new dataclasses...


pythonpython-dataclasses

Read More
Force type conversion in python dataclass __init__ method...


pythonpython-dataclasses

Read More
python dataclasses with optional attributes...


pythonpython-dataclasses

Read More
Data Classes vs typing.NamedTuple primary use cases...


pythonnamedtuplepeppython-3.7python-dataclasses

Read More
Define __dict__ in slotted dataclass...


pythonpython-dataclassesslots

Read More
How can I make a python dataclass hashable?...


pythonpython-3.xhashpython-dataclasses

Read More
BackNext