Browse Source

chore: Add typing to Keycloak admin connection (#496)

* fix: Add typing to Keycloak admin connection

* fix: Backwards compatibility for type hinting

* fix: Use typing.Optional over typing.Union
pull/430/head
Jacky Lam 12 months ago
committed by elias.hamacher
parent
commit
17ad531f3f
  1. 2
      src/keycloak/keycloak_admin.py

2
src/keycloak/keycloak_admin.py

@ -84,7 +84,7 @@ class KeycloakAdmin:
PAGE_SIZE = 100
_auto_refresh_token = None
_connection = None
_connection: Optional[KeycloakOpenIDConnection] = None
def __init__(
self,

Loading…
Cancel
Save