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

make **kwargs optional

This commit is contained in:
Kelly Brazil
2022-01-26 17:12:35 -08:00
parent e156b0db45
commit db7dc0634b
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ JC lib module
### parse ### parse
```python ```python
def parse(parser_mod_name: str, data: Union[str, Iterable[str]], quiet: Optional[bool] = False, raw: Optional[bool] = False, ignore_exceptions: Optional[bool] = None, **kwargs: Any) -> Union[Dict, List[Dict], Iterator[Dict]] def parse(parser_mod_name: str, data: Union[str, Iterable[str]], quiet: Optional[bool] = False, raw: Optional[bool] = False, ignore_exceptions: Optional[bool] = None, **kwargs: Optional[Any]) -> Union[Dict, List[Dict], Iterator[Dict]]
``` ```
Parse the string data using the supplied parser module. Parse the string data using the supplied parser module.

View File

@ -146,7 +146,7 @@ def parse(
quiet: Optional[bool] = False, quiet: Optional[bool] = False,
raw: Optional[bool] = False, raw: Optional[bool] = False,
ignore_exceptions: Optional[bool] = None, ignore_exceptions: Optional[bool] = None,
**kwargs: Any **kwargs: Optional[Any]
) -> Union[Dict, List[Dict], Iterator[Dict]]: ) -> Union[Dict, List[Dict], Iterator[Dict]]:
""" """
Parse the string data using the supplied parser module. Parse the string data using the supplied parser module.