validations_libs.cli.parseractions module¶
- class validations_libs.cli.parseractions.CommaListAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
Action
- class validations_libs.cli.parseractions.KeyValueAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
Action
A custom action to parse arguments as key=value pairs Ensures that
dest
is a dict and values are strings.