Raymond Hettinger <[email protected]> added the comment:
Ivan, you don't need to specify default values to have typing. This will
suffice:
class CliArgs(object):
foo: Optional[str]
bar: int
baz: float
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38843>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com