
Nov. 20, 2019
8:06 a.m.
Raymond Hettinger <raymond.hettinger@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 <report@bugs.python.org> <https://bugs.python.org/issue38843> _______________________________________