Browse Source

Merge pull request #323 from marcospereirampj/321-broken-flask_keycloack

fix: import classes in the base module
pull/324/head v0.28.3
Richard Nemeth 3 years ago
committed by GitHub
parent
commit
c9818433eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
from ._version import __version__ 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_admin import KeycloakAdmin
from .keycloak_openid import KeycloakOpenID 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