mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2026-06-13 21:54:29 +02:00
make **kwargs optional
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ JC lib module
|
||||
### parse
|
||||
|
||||
```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.
|
||||
|
||||
@@ -146,7 +146,7 @@ def parse(
|
||||
quiet: Optional[bool] = False,
|
||||
raw: Optional[bool] = False,
|
||||
ignore_exceptions: Optional[bool] = None,
|
||||
**kwargs: Any
|
||||
**kwargs: Optional[Any]
|
||||
) -> Union[Dict, List[Dict], Iterator[Dict]]:
|
||||
"""
|
||||
Parse the string data using the supplied parser module.
|
||||
|
||||
Reference in New Issue
Block a user