This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients docs@python, paul.j3, rhettinger, zerkms
Date 2019-11-20.08:06:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574237193.34.0.976963669347.issue38843@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-11-20 08:06:33rhettingersetrecipients: + rhettinger, docs@python, paul.j3, zerkms
2019-11-20 08:06:33rhettingersetmessageid: <1574237193.34.0.976963669347.issue38843@roundup.psfhosted.org>
2019-11-20 08:06:33rhettingerlinkissue38843 messages
2019-11-20 08:06:33rhettingercreate