Browse Source

fix: import classes in the base module

pull/323/head
Richard Nemeth 3 years ago
parent
commit
62e8d66779
No known key found for this signature in database GPG Key ID: 21C39470DF3DEC39
  1. 36
      src/keycloak/__init__.py

36
src/keycloak/__init__.py

@ -22,7 +22,41 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
from ._version import __version__
from .connection import ConnectionManager
from .exceptions import (
KeycloakAuthenticationError,
KeycloakAuthorizationConfigError,
KeycloakConnectionError,
KeycloakDeleteError,
KeycloakDeprecationError,
KeycloakError,
KeycloakGetError,
KeycloakInvalidTokenError,
KeycloakOperationError,
KeycloakPostError,
KeycloakPutError,
KeycloakRPTNotFound,
KeycloakSecretNotFound,
)
from .keycloak_admin import KeycloakAdmin
from .keycloak_openid import KeycloakOpenID
__all__ = ["KeycloakAdmin", "KeycloakOpenID", "__version__"]
__all__ = [
"__version__",
"ConnectionManager",
"KeycloakAuthenticationError",
"KeycloakAuthorizationConfigError",
"KeycloakConnectionError",
"KeycloakDeleteError",
"KeycloakDeprecationError",
"KeycloakError",
"KeycloakGetError",
"KeycloakInvalidTokenError",
"KeycloakOperationError",
"KeycloakPostError",
"KeycloakPutError",
"KeycloakRPTNotFound",
"KeycloakSecretNotFound",
"KeycloakAdmin",
"KeycloakOpenID",
]
Loading…
Cancel
Save