Open kurtbrose opened 3 years ago
right now the default kwarg of Optional must be a constant
it would be convenient if it could be a type e.g.
{ Optional('numbers', default=list): [int] }
but evaluating types introduces the problem of ambiguity
arg-mode would let you do this
{ Optional('numbers', default=[]): [int] }
right now the default kwarg of Optional must be a constant
it would be convenient if it could be a type e.g.
but evaluating types introduces the problem of ambiguity
arg-mode would let you do this