mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
chore(core): remove arg types from docstrings (#33388)
* Remove types args * Remove types from Returns * Remove types from Yield * Replace `kwargs` by `**kwargs` when needed
This commit is contained in:
committed by
GitHub
parent
3576e690fa
commit
f405a2c57d
@@ -45,7 +45,7 @@ def dumps(obj: Any, *, pretty: bool = False, **kwargs: Any) -> str:
|
||||
pretty: Whether to pretty print the json. If true, the json will be
|
||||
indented with 2 spaces (if no indent is provided as part of kwargs).
|
||||
Default is False.
|
||||
kwargs: Additional arguments to pass to json.dumps
|
||||
**kwargs: Additional arguments to pass to json.dumps
|
||||
|
||||
Returns:
|
||||
A json string representation of the object.
|
||||
|
||||
Reference in New Issue
Block a user