Files
opensearch-pyd/opensearchpy/client
Charles Greer fe3b5a8922 [#387] Do not escape the "timeout" parameter. (#394)
* [#387] Do not escape the "timeout" parameter.

When the "timeout" parameter is escaped and turned into
a string, it does not pass validation checks.
This PR ensures that timeout is passed through as-is,
just like "request_timeout".
There's no explicit test for this parameter, but I included
it on some existing tests just to ensure that the code
is exercised.  Without the fix in place, one of the tests as modified will not pass.

Signed-off-by: Charles Greer <cgreer@lexmachina.com>

* Unit test for timeout parameter

Revert original test modifications.

Signed-off-by: Charles Greer <cgreer@lexmachina.com>

* Extend test and linter

Signed-off-by: Charles Greer <cgreer@lexmachina.com>

---------

Signed-off-by: Charles Greer <cgreer@lexmachina.com>
2023-05-23 18:12:29 -04:00
..
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-10-03 14:45:18 -04:00
2021-09-16 21:23:38 +05:30
2022-10-03 14:45:18 -04:00
2022-10-03 14:45:18 -04:00
2022-10-03 14:45:18 -04:00
2021-09-16 21:23:38 +05:30
2022-11-28 14:29:37 -08:00
2022-11-28 14:29:37 -08:00
2022-10-03 14:45:18 -04:00
2021-09-16 21:23:38 +05:30
2021-09-16 21:23:38 +05:30