Browse Source

fix: improved type-hints (#427)

pull/429/head v2.15.1
Kun Yang 2 years ago
committed by GitHub
parent
commit
e7854d0c65
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/keycloak/keycloak_admin.py

3
src/keycloak/keycloak_admin.py

@ -29,6 +29,7 @@
import copy import copy
import json import json
from builtins import isinstance from builtins import isinstance
from typing import Optional
import deprecation import deprecation
from requests_toolbelt import MultipartEncoder from requests_toolbelt import MultipartEncoder
@ -100,7 +101,7 @@ class KeycloakAdmin:
user_realm_name=None, user_realm_name=None,
auto_refresh_token=None, auto_refresh_token=None,
timeout=60, timeout=60,
connection: KeycloakOpenIDConnection = None,
connection: Optional[KeycloakOpenIDConnection] = None,
): ):
"""Init method. """Init method.

Loading…
Cancel
Save