Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-dataclasses

How to use spec when mocking data classes in Python

Weird Issue when using dataclass and property together

Json serialization of nested dataclasses

How to fix 'NameError: name 'field' is not defined' [closed]

How to enforce dataclass fields' types? [duplicate]

Abstract dataclass without abstract methods in Python: prohibit instantiation

Unable to Instantiate Python Dataclass (Frozen) inside a Pytest function that uses Fixtures

Why is dataclasses.astuple returning a deepcopy of class attributes?

Avoid Python lint warning for @dataclass variable declarations

How can I use a list[customClass] as type with @dataclass in Python 3.7.x

Reserved word as an attribute name in a dataclass when parsing a JSON object

Is there a way to use a dataclass, with fields with defaults, with __slots__

python python-dataclasses

How to define a dataclass so each of its attributes is the list of its subclass attributes?

python python-dataclasses

Using dataclasses with Cython

Dataclass not inheriting __eq__() method from its parent

Typing: Restrict to a list of strings

Pretty-print dataclasses prettier

Python @dataclass with multiple inheritance (mixin) and mixed default options [duplicate]

Interesting performance of creating objects via normal class, data class and named tuple

Does cython support dataclasses or something similar