Search code examples
Define __dict__ in slotted dataclass...


pythonpython-dataclassesslots

Read More
Assigning abstract attributes through the constructor in a `jax` python dataclass...


pythonclasspython-dataclassesjax

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


pythondocumentationpython-3.7docstringpython-dataclasses

Read More
How to annotate a function that returns a dataclass field so that type checkers treat it correctly?...


pythonpython-typingpython-dataclasses

Read More
Can a dataclass field format its value for the repr?...


pythonpython-dataclassesrepr

Read More
Dataclasses and property decorator...


pythonpython-3.7python-dataclasses

Read More
Creating nested dataclass objects in Python...


pythonobjectserializationnestedpython-dataclasses

Read More
type hint for an instance of a non specific dataclass...


pythonpython-typingpython-dataclasses

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


pythonclasspython-3.7python-dataclasses

Read More
Overriding default values when using inheritance in dataclasses...


pythonpython-dataclasses

Read More
dataclass __repr__ shows init=False members...


pythonpython-dataclasses

Read More
How to make dataclass instance attribute non-public and an __init__ arg?...


pythonpython-dataclasses

Read More
Trying to reduce the verboseness of __post_init__ in a python dataclass...


pythonenumspython-dataclasses

Read More
how to convert a dict to a dataclass (reverse of asdict)?...


pythonpython-dataclasses

Read More
Utilizing a dataclass and enum together...


python-3.xenumspython-dataclasses

Read More
Is there a way to get a Python dataclass length?...


pythonpython-dataclasses

Read More
Why can't dataclasses have mutable defaults in their class attributes declaration?...


pythonpython-dataclasses

Read More
How to type hint a dataclass?...


pythonpython-typingpython-dataclasses

Read More
Python dataclasses and sqlite3 adapters...


pythonsqlitepython-dataclassessqlite3-python

Read More
Data class with argument optional only in init...


pythonpython-3.xpython-dataclasses

Read More
How to type hint an attribute to be a dataclass?...


pythonpython-typingpython-dataclasses

Read More
Python dataclass from a nested dict...


pythonpython-3.xpython-dataclasses

Read More
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
BackNext