Closed florianfischer91 closed 2 years ago
I was initially confused how the __dataclass_transform__
decorator could perform such transform magic since it just returns itself! But then I started looking at the PEP 681 reference that you added and realised that the magic is actually in the static type checkers that know what to do when they see a decorator function with that name. Very clever.
This adds autocomplete for fields when creating a new instance of a predicate.
closes #80