mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-29 19:18:53 +00:00
Update json.py
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
This commit is contained in:
parent
cbe18057b0
commit
f6b0b065d3
@ -105,7 +105,7 @@ def parse_partial_json(s: str, *, strict: bool = False) -> Any:
|
||||
|
||||
|
||||
def parse_json_markdown(
|
||||
json_string: str, parser: Callable[[str], Any] = json.loads
|
||||
json_string: str, *, parser: Callable[[str], Any] = json.loads
|
||||
) -> dict:
|
||||
"""
|
||||
Parse a JSON string from a Markdown string.
|
||||
|
Loading…
Reference in New Issue
Block a user