Browse Source

Merge pull request #352 from fredlb/fix-docs-param-timeout

docs: add timeout to docstring
pull/353/head
Richard Nemeth 2 years ago
committed by GitHub
parent
commit
4eab29493f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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 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. :param auto_refresh_token: list of methods that allows automatic token refresh.
Ex: ['get', 'put', 'post', 'delete'] Ex: ['get', 'put', 'post', 'delete']
:param timeout: connection timeout in seconds
""" """
PAGE_SIZE = 100 PAGE_SIZE = 100

1
src/keycloak/keycloak_openid.py

@ -62,6 +62,7 @@ class KeycloakOpenID:
:param verify: True if want check connection SSL :param verify: True if want check connection SSL
:param custom_headers: dict of custom header to pass to each HTML request :param custom_headers: dict of custom header to pass to each HTML request
:param proxies: dict of proxies to sent the request by. :param proxies: dict of proxies to sent the request by.
:param timeout: connection timeout in seconds
""" """
def __init__( def __init__(

Loading…
Cancel
Save