Skip to content

Latest commit

 

History

History
100 lines (63 loc) · 2.63 KB

CHANGELOG.md

File metadata and controls

100 lines (63 loc) · 2.63 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

  • Parse doc for class as description.
  • Parse doc for class attributes as help.
  • Update class TypedArgs.
  • Add ta.TypedArgs for better intellisense.
  • Add @overload for API.
  • 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.
  • Don't remmber what I changed.
  • Fix default argument. add_argument(default=[]) now init the correct [] for dataclass.
  • 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.
  • make @classmethod return correct type
  • Add __repr__.
  • Add a comparison between argparse and TypedArgs.
  • Fix NotImplementedError.
  • Use parser_factory() to create parser.
  • Support optional parsing. If not using add_argument function, attributes will not be parsed.
  • Fix repr.
  • Support pickle.
  • Assign attributes by name and type
  • parser is initialized inside class.
  • Define parser as a local variable.
  • Define parser as a global varaible.
  • Replace attributes by name