Tomas Konecny

Results 3 comments of Tomas Konecny

Hi! I encountered the same problem, but using default `= None` is not a possible solution for me, as I would have to reorder the fields in my class so...

> But attrs classes and dataclasses must have fields with defaults after the fields with no defaults anyway, right? My class has no defaults and looks like this: ```python3 @frozen...

> Ah I see, alright. And you'd like to do this just for Optionals? Maybe as well for `Union[T1, T2, ..., None]`, but that should be the same thing. The...