1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-11 01:10:37 +02:00

type annotation updates

This commit is contained in:
Kelly Brazil
2022-02-01 17:54:22 -08:00
parent 96ec70de4f
commit 21719f9a26
2 changed files with 18 additions and 20 deletions

View File

@ -225,7 +225,7 @@ def plugin_parser_mod_list() -> List[str]:
"""
return [_cliname_to_modname(p) for p in local_parsers]
def parser_info(parser_mod_name: str) -> Union[Dict, None]:
def parser_info(parser_mod_name: str) -> Optional[Dict]:
"""
Returns a dictionary that includes the module metadata.