Updated dependencies, generated API. (#793)
* Updated dependencies. Signed-off-by: dblock <[email protected]> * Lock setuptools at 71.1.0. Newer version seems to cause UserWarning: Unknown distribution option: 'test_suite'. Signed-off-by: dblock <[email protected]> * Updated opensearch-py APIs to reflect opensearch-api-specification@9d3bc34. Signed-off-by: dblock <[email protected]> * Do not test against flaky 2.0. Signed-off-by: dblock <[email protected]> * Reduce test matrix and add 2.16. Signed-off-by: dblock <[email protected]> * Fix missing spaces in generated descriptions. Signed-off-by: dblock <[email protected]> * Removed 2.2.1. Signed-off-by: dblock <[email protected]> --------- Signed-off-by: dblock <[email protected]>
This commit is contained in:
@@ -397,10 +397,9 @@ class API:
|
||||
and self.name == "create_data_stream"
|
||||
and part == "name"
|
||||
):
|
||||
replace_str = r"`\`, "
|
||||
# Replace the string in the description
|
||||
parts["name"]["description"] = parts["name"]["description"].replace(
|
||||
replace_str, ""
|
||||
r"`\`, ", ""
|
||||
)
|
||||
if "backslash" not in parts["name"]["description"]:
|
||||
parts["name"]["description"] = parts["name"]["description"].replace(
|
||||
@@ -624,7 +623,7 @@ def read_modules() -> Any:
|
||||
param_dict: Dict[str, Any] = {}
|
||||
if "description" in param:
|
||||
param_dict.update(
|
||||
description=param["description"].replace("\n", "")
|
||||
description=param["description"].replace("\n", " ")
|
||||
)
|
||||
|
||||
if "type" in param["schema"]:
|
||||
|
||||
Reference in New Issue
Block a user