Vladimir

19%
Flag icon
The @dataclass decorator doesn’t care about the types in the annotations, except in two cases, and this is one of them: if the type is ClassVar, an instance field will not be generated for that attribute.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview