diff --git a/ayon_api/server_api.py b/ayon_api/server_api.py index b87051ada..41f578888 100644 --- a/ayon_api/server_api.py +++ b/ayon_api/server_api.py @@ -496,6 +496,18 @@ def set_cert(self, cert): ssl_verify = property(get_ssl_verify, set_ssl_verify) cert = property(get_cert, set_cert) + @classmethod + def get_default_timeout(cls): + """Default value for requests timeout. + + Utils function 'get_default_timeout' is used by default. + + Returns: + float: Timeout value in seconds. + """ + + return get_default_timeout() + @classmethod def get_default_max_retries(cls): """Default value for requests max retries. @@ -532,7 +544,7 @@ def set_timeout(self, timeout): """ if timeout is None: - timeout = get_default_timeout() + timeout = self.get_default_timeout() self._timeout = float(timeout) def get_max_retries(self):