typedparser 0.22.7__tar.gz → 0.22.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: typedparser
3
- Version: 0.22.7
3
+ Version: 0.22.9
4
4
  Summary: Extension for python argparse with typehints and typechecks.
5
5
  Author: simon-ging
6
6
  License: Apache-2.0
@@ -25,4 +25,4 @@ __all__ = [
25
25
  ]
26
26
 
27
27
 
28
- __version__ = "0.22.7"
28
+ __version__ = "0.22.9"
@@ -103,6 +103,9 @@ def add_argument(
103
103
  class VerboseQuietArgs:
104
104
  verbose: bool = add_argument(shortcut="-v", help="Increase verbosity", action="store_true")
105
105
  quiet: bool = add_argument(shortcut="-q", help="Reduce verbosity", action="store_true")
106
+ log_level: str | None = add_argument(
107
+ type=str, help="Set log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)"
108
+ )
106
109
 
107
110
 
108
111
  @define(slots=False) # slots false to allow multi inheritance
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: typedparser
3
- Version: 0.22.7
3
+ Version: 0.22.9
4
4
  Summary: Extension for python argparse with typehints and typechecks.
5
5
  Author: simon-ging
6
6
  License: Apache-2.0
File without changes
File without changes
File without changes