typedparser 0.32.3__tar.gz → 0.32.4__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.3
3
+ Version: 0.32.4
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.3"
28
+ __version__ = "0.32.4"
@@ -327,7 +327,7 @@ def _parse_nested(
327
327
  current_position=current_position,
328
328
  )
329
329
 
330
- # resolve any
330
+ # resolve any (actually "any" is not supposed to be used as a type.)
331
331
  if typ in [Any, any]:
332
332
  return value
333
333
 
@@ -349,7 +349,7 @@ def big_obj_to_short_str(d: Any) -> str:
349
349
  return f"Object of type {class_name}"
350
350
 
351
351
 
352
- def invert_dict_of_dict(dict_of_dict: dict[str, dict[str, any]]) -> dict[str, dict[str, any]]:
352
+ def invert_dict_of_dict(dict_of_dict: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]]:
353
353
  """
354
354
  Invert a dictionary of dictionaries. Useful for creating dataframes.
355
355
 
@@ -369,7 +369,7 @@ def invert_dict_of_dict(dict_of_dict: dict[str, dict[str, any]]) -> dict[str, di
369
369
  return regular_dict
370
370
 
371
371
 
372
- def invert_list_of_dict(list_of_dict: list[dict[str, any]]) -> dict[str, list[any]]:
372
+ def invert_list_of_dict(list_of_dict: list[dict[str, Any]]) -> dict[str, list[Any]]:
373
373
  """
374
374
  Invert a list of dictionaries. Useful for creating dataframes.
375
375
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: typedparser
3
- Version: 0.32.3
3
+ Version: 0.32.4
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