From 81b3cc80db831d9ffb321bd4984fa2c082363fb6 Mon Sep 17 00:00:00 2001 From: Fredrik Lindner Date: Mon, 4 Jul 2022 14:28:22 +0200 Subject: [PATCH] docs: add timeout to docstring --- src/keycloak/keycloak_admin.py | 1 + src/keycloak/keycloak_openid.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/keycloak/keycloak_admin.py b/src/keycloak/keycloak_admin.py index 44e9c3b..4b85ead 100644 --- a/src/keycloak/keycloak_admin.py +++ b/src/keycloak/keycloak_admin.py @@ -57,6 +57,7 @@ class KeycloakAdmin: :param user_realm_name: The realm name of the user, if different from realm_name :param auto_refresh_token: list of methods that allows automatic token refresh. Ex: ['get', 'put', 'post', 'delete'] + :param timeout: connection timeout in seconds """ PAGE_SIZE = 100 diff --git a/src/keycloak/keycloak_openid.py b/src/keycloak/keycloak_openid.py index 7216b5d..ad608d0 100644 --- a/src/keycloak/keycloak_openid.py +++ b/src/keycloak/keycloak_openid.py @@ -62,6 +62,7 @@ class KeycloakOpenID: :param verify: True if want check connection SSL :param custom_headers: dict of custom header to pass to each HTML request :param proxies: dict of proxies to sent the request by. + :param timeout: connection timeout in seconds """ def __init__(