Browse Source

docs: add timeout to docstring

pull/352/head
Fredrik Lindner 2 years ago
parent
commit
81b3cc80db
  1. 1
      src/keycloak/keycloak_admin.py
  2. 1
      src/keycloak/keycloak_openid.py

1
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

1
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__(

Loading…
Cancel
Save