Raymond Hettinger <raymond.hettin...@gmail.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38843>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to