Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch-py 2.2.0
Describe the issue:
After upgrading from opensearch-py 2.0.0 to 2.2.0 I have been facing the following issue when trying to perform the delete index operation and setting the timeout value through the client I get a connection error
client.indices.delete(index=index, ignore=[400, 404], timeout=600)
opensearchpy.exceptions.ConnectionError: ConnectionError(Timeout value connect was 600, but it must be an int, float or None.) caused by: ValueError(Timeout value connect was 600, but it must be an int, float or None.)
The version of requests library is 2.28.1
Screenshot