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

normalize show_hidden and show_deprecated to be False by default

This commit is contained in:
Kelly Brazil
2022-10-18 09:35:24 -07:00
parent 8bd7a00410
commit 597a8f468e
2 changed files with 12 additions and 12 deletions

View File

@ -388,8 +388,8 @@ def parse(
return jc_parser.parse(data, quiet=quiet, raw=raw, **kwargs)
def parser_mod_list(
show_hidden: bool = True,
show_deprecated: bool = True
show_hidden: bool = False,
show_deprecated: bool = False
) -> List[str]:
"""Returns a list of all available parser module names."""
plist: List[str] = []
@ -407,8 +407,8 @@ def parser_mod_list(
return plist
def plugin_parser_mod_list(
show_hidden: bool = True,
show_deprecated: bool = True
show_hidden: bool = False,
show_deprecated: bool = False
) -> List[str]:
"""
Returns a list of plugin parser module names. This function is a
@ -429,8 +429,8 @@ def plugin_parser_mod_list(
return plist
def standard_parser_mod_list(
show_hidden: bool = True,
show_deprecated: bool = True
show_hidden: bool = False,
show_deprecated: bool = False
) -> List[str]:
"""
Returns a list of standard parser module names. This function is a
@ -454,8 +454,8 @@ def standard_parser_mod_list(
return plist
def streaming_parser_mod_list(
show_hidden: bool = True,
show_deprecated: bool = True
show_hidden: bool = False,
show_deprecated: bool = False
) -> List[str]:
"""
Returns a list of streaming parser module names. This function is a