typedparser 0.32.2__tar.gz → 0.32.3__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.1
2
2
  Name: typedparser
3
- Version: 0.32.2
3
+ Version: 0.32.3
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.32.2"
28
+ __version__ = "0.32.3"
@@ -40,7 +40,7 @@ class TypedParser:
40
40
  ):
41
41
  return cls(parser, typed_args_class, strict=strict)
42
42
 
43
- def parse_args(self, args=None, namespace=None):
43
+ def parse_args(self, args=None, namespace=None) -> Any:
44
44
  args = self.parser.parse_args(args, namespace)
45
45
  typed_args = self._convert_args_to_typed_args(args)
46
46
  return typed_args
@@ -57,7 +57,7 @@ class TypedParser:
57
57
 
58
58
  def add_argument(
59
59
  *name_or_flags: str, shortcut: Optional[str] = None, positional: bool = False, **kwargs
60
- ):
60
+ ) -> Any:
61
61
  """
62
62
  Interface matches ArgumentParser.add_argument:
63
63
  https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_argument
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: typedparser
3
- Version: 0.32.2
3
+ Version: 0.32.3
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