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:
Christophe Bornet
2025-10-09 19:13:23 +02:00
committed by GitHub
parent 3576e690fa
commit f405a2c57d
53 changed files with 680 additions and 763 deletions

View File

@@ -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.