Search code examples
Extract all field names from nested dataclasses...


pythonpython-dataclasses

Read More
How can I dump a Python dataclass to YAML without tags?...


pythonyamlpython-dataclassespyyaml

Read More
How to make a python dataclass field not allow None values...


pythonpython-dataclasses

Read More
control initialize order when Python dataclass inheriting a class...


pythoninheritancepython-dataclasses

Read More
populate dataclass instance from other dataclass instance...


pythonpython-dataclasses

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


pythonpython-dataclasses

Read More
Python dataclass, one attribute referencing other...


pythonpython-dataclassespython-class

Read More
Modifying a dataclass object such that only specified elements are overridden...


pythonpython-typingdeep-copypython-dataclasses

Read More
Different dataclass object show equal...


pythonpython-dataclasses

Read More
How can I make mypy work with a custom class decorator similar to dataclass?...


pythonpython-decoratorsmypypython-dataclasses

Read More
Why are these 2 python class instance could equal to each other?...


pythonequalitypython-dataclassespython-class

Read More
How to get the type of a validated field in Pydantic validator method...


python-3.xvalidationpydanticpython-dataclasses

Read More
When making a dataclass, how can I use a custom type for the field objects themselves?...


pythonpython-3.xpython-dataclasses

Read More
Python dataclass: create property dynamically...


pythonpython-3.xpython-dataclasses

Read More
In Python, why doesn't dataclasses.asdict work with fields of type dictionary?...


pythonpython-dataclasses

Read More
A way to set field validation attribute in pydantic...


pythonvalidationjsonschemapython-dataclassespydantic

Read More
How to override the hash function of python data classes?...


pythoninheritancehashpython-dataclasses

Read More
How to compare large lists of dataclass objects fast in Python...


pythonpython-dataclasses

Read More
Inner classes can't reference eachother, is there a more Pythonic way?...


pythoninner-classespython-dataclasses

Read More
How to use spec when mocking data classes in Python...


pythonattributesmockingpython-dataclasses

Read More
Filtering dataclass instances by unique attribute value...


pythonfilteringpython-dataclasses

Read More
What is the Pythonic way of using a moving x,y coordinate dataclass as a dict key?...


pythonpython-dataclasses

Read More
Should dataclass use fields for attributes with only defaults?...


pythonpython-dataclasses

Read More
In Python, how do I modify one object from a list without modifying others?...


pythonpython-dataclasses

Read More
Python type hints for a hashable, callable dataclass...


pythonpython-typingpython-dataclasses

Read More
Create dataclass instance from union type based on string literal...


pythonmypypython-typingpython-dataclasses

Read More
TypeError when using super() in a dataclass with slots=True...


pythonpython-dataclassesslots

Read More
Is DataClass a good fit to replace a dictionary?...


pythondictionarypython-dataclasses

Read More
How to handle generic dataclasses in dataclasses-json?...


pythonpython-dataclassesmarshmallow

Read More
How can I overwrite the default print output of a python dataclass?...


pythonpython-dataclasses

Read More
BackNext