diff --git a/twilio/base/domain.py b/twilio/base/domain.py index 459c1dfef3..968a968c07 100644 --- a/twilio/base/domain.py +++ b/twilio/base/domain.py @@ -4,6 +4,7 @@ class Domain(object): Like, `api.twilio.com` or `lookups.twilio.com'. """ + def __init__(self, twilio): """ :param Twilio twilio: @@ -30,7 +31,7 @@ def request(self, method, uri, params=None, data=None, headers=None, :param object data: The request body. :param dict headers: The HTTP headers. :param tuple auth: Basic auth tuple of (username, password) - :param int timeout: The request timeout. + :param float timeout: The request timeout. :param bool allow_redirects: True if the client should follow HTTP redirects. """ diff --git a/twilio/http/http_client.py b/twilio/http/http_client.py index d54774f4c2..dd67bb4ff2 100644 --- a/twilio/http/http_client.py +++ b/twilio/http/http_client.py @@ -22,8 +22,8 @@ def __init__(self, pool_connections=True, request_hooks=None, timeout=None, logg :param bool pool_connections :param request_hooks - :param int timeout: Timeout for the requests. - Timeout should never be zero (0) or less. + :param float timeout: Timeout for the requests. + Timeout should never be zero (0) or less. :param logger :param dict proxy: Http proxy for the requests session :param int max_retries: Maximum number of retries each request should attempt