Search code examples
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
Creating a custom Python type from existing dataclass / pydandic class...


pythonpython-typingpydanticpython-dataclasses

Read More
can you make a regular python class frozen?...


pythonpython-dataclasses

Read More
Converting dict to dataclass type dynamically, and an instance back to a dict, results in empty dict...


pythondictionarypython-dataclasses

Read More
How to generate test samples with Hypothesis directly from dataclasses?...


pythonautomated-testspython-dataclassespython-hypothesis

Read More
Dataclasses: trying to understand them in python...


pythonpython-dataclasses

Read More
How to ignore attributes with the value None when initializing a class object?...


pythonpython-dataclasses

Read More
AttributeError trying to define a setter for an inherit attribute in a subclass...


pythonpython-dataclasses

Read More
BackNext