Skip to content

Releases: SunDoge/typed-args

v0.6.5

23 Sep 17:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.4...v0.6.5

v0.6.4

22 Mar 15:14
08c4ffc
Compare
Choose a tag to compare
  • Parse doc for class as description.
  • Parse doc for class attributes as help.

v0.6.3

19 Mar 17:02
a1b2198
Compare
Choose a tag to compare
  • Update class TypedArgs.

v0.6.2

19 Mar 15:18
bce1240
Compare
Choose a tag to compare
  • Add ta.TypedArgs for better intellisense.

v0.6.1

18 Mar 14:29
Compare
Choose a tag to compare

[0.6.1]

  • Add @overload for API.

v0.6.0

16 Mar 07:41
e51f2e6
Compare
Choose a tag to compare

v0.6.0

  • Support add_argument_group
  • Support add_subparsers
  • Rename from_args, from_known_args to parse_args and parse_known_args because Args is now a ArgumentParser.

v0.5.2

20 Dec 08:52
Compare
Choose a tag to compare
version 0.5.2

v0.5.1

22 Apr 16:09
Compare
Choose a tag to compare
  • Fix default argument. add_argument(default=[]) now init the correct [] for dataclass.

v0.5.0

22 Apr 12:00
Compare
Choose a tag to compare

We switch to poetry workflow instead of the traditional setup.py.

  • Function add_argument accepts type now and we don't check the type annotations in dataclass fields. This make typed-args less strict but more easy to use.
  • Python 3.6 is supported now. Python 3.5 should work but I didn't test it.

v0.5.0a2

21 Apr 11:56
Compare
Choose a tag to compare
v0.5.0a2 Pre-release
Pre-release

version 0.5.0a2

  • Fix type annotations for @classmethod
  • Add default to dataclass field