From fba9037b2b0714b935ab0d47255669fc9e80a452 Mon Sep 17 00:00:00 2001 From: magera Date: Tue, 26 Sep 2023 17:22:11 +0530 Subject: [PATCH] added float as type_check for request timeout --- dnacentersdk/api/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnacentersdk/api/authentication.py b/dnacentersdk/api/authentication.py index 527e3e06..e8359c9f 100644 --- a/dnacentersdk/api/authentication.py +++ b/dnacentersdk/api/authentication.py @@ -79,7 +79,7 @@ def __init__(self, base_url, object_factory, single_request_timeout=None, """ check_type(base_url, basestring, may_be_none=False) - check_type(single_request_timeout, int) + check_type(single_request_timeout, (int,float)) check_type(verify, (bool, basestring), may_be_none=False) super(Authentication, self).__init__()