Browse Source

chore: bump the deprecation to v4

pull/452/head v2.16.6
Richard Nemeth 2 years ago
parent
commit
686eb3a33a
  1. 60
      src/keycloak/keycloak_admin.py

60
src/keycloak/keycloak_admin.py

@ -156,7 +156,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.server_url property instead", details="Use the connection.server_url property instead",
) )
@ -171,7 +171,7 @@ class KeycloakAdmin:
@server_url.setter @server_url.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.server_url property instead", details="Use the connection.server_url property instead",
) )
@ -181,7 +181,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.realm_name property instead", details="Use the connection.realm_name property instead",
) )
@ -196,7 +196,7 @@ class KeycloakAdmin:
@realm_name.setter @realm_name.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.realm_name property instead", details="Use the connection.realm_name property instead",
) )
@ -219,7 +219,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.client_id property instead", details="Use the connection.client_id property instead",
) )
@ -234,7 +234,7 @@ class KeycloakAdmin:
@client_id.setter @client_id.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.client_id property instead", details="Use the connection.client_id property instead",
) )
@ -244,7 +244,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.client_secret_key property instead", details="Use the connection.client_secret_key property instead",
) )
@ -259,7 +259,7 @@ class KeycloakAdmin:
@client_secret_key.setter @client_secret_key.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.client_secret_key property instead", details="Use the connection.client_secret_key property instead",
) )
@ -269,7 +269,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.verify property instead", details="Use the connection.verify property instead",
) )
@ -284,7 +284,7 @@ class KeycloakAdmin:
@verify.setter @verify.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.verify property instead", details="Use the connection.verify property instead",
) )
@ -294,7 +294,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.username property instead", details="Use the connection.username property instead",
) )
@ -309,7 +309,7 @@ class KeycloakAdmin:
@username.setter @username.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.username property instead", details="Use the connection.username property instead",
) )
@ -319,7 +319,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.password property instead", details="Use the connection.password property instead",
) )
@ -334,7 +334,7 @@ class KeycloakAdmin:
@password.setter @password.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.password property instead", details="Use the connection.password property instead",
) )
@ -344,7 +344,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.totp property instead", details="Use the connection.totp property instead",
) )
@ -359,7 +359,7 @@ class KeycloakAdmin:
@totp.setter @totp.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.totp property instead", details="Use the connection.totp property instead",
) )
@ -369,7 +369,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.token property instead", details="Use the connection.token property instead",
) )
@ -384,7 +384,7 @@ class KeycloakAdmin:
@token.setter @token.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.token property instead", details="Use the connection.token property instead",
) )
@ -394,7 +394,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.user_realm_name property instead", details="Use the connection.user_realm_name property instead",
) )
@ -409,7 +409,7 @@ class KeycloakAdmin:
@user_realm_name.setter @user_realm_name.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.user_realm_name property instead", details="Use the connection.user_realm_name property instead",
) )
@ -419,7 +419,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.custom_headers property instead", details="Use the connection.custom_headers property instead",
) )
@ -434,7 +434,7 @@ class KeycloakAdmin:
@custom_headers.setter @custom_headers.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.custom_headers property instead", details="Use the connection.custom_headers property instead",
) )
@ -444,7 +444,7 @@ class KeycloakAdmin:
@property @property
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Auto-refresh will be implicitly set for all requests", details="Auto-refresh will be implicitly set for all requests",
) )
@ -459,7 +459,7 @@ class KeycloakAdmin:
@auto_refresh_token.setter @auto_refresh_token.setter
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Auto-refresh will be implicitly set for all requests", details="Auto-refresh will be implicitly set for all requests",
) )
@ -3756,7 +3756,7 @@ class KeycloakAdmin:
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.raw_get function instead", details="Use the connection.raw_get function instead",
) )
@ -3777,7 +3777,7 @@ class KeycloakAdmin:
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.raw_post function instead", details="Use the connection.raw_post function instead",
) )
@ -3798,7 +3798,7 @@ class KeycloakAdmin:
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.raw_put function instead", details="Use the connection.raw_put function instead",
) )
@ -3819,7 +3819,7 @@ class KeycloakAdmin:
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.raw_delete function instead", details="Use the connection.raw_delete function instead",
) )
@ -3840,7 +3840,7 @@ class KeycloakAdmin:
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.get_token function instead", details="Use the connection.get_token function instead",
) )
@ -3856,7 +3856,7 @@ class KeycloakAdmin:
@deprecation.deprecated( @deprecation.deprecated(
deprecated_in="2.13.0", deprecated_in="2.13.0",
removed_in="3.0.0",
removed_in="4.0.0",
current_version=__version__, current_version=__version__,
details="Use the connection.refresh_token function instead", details="Use the connection.refresh_token function instead",
) )

Loading…
Cancel
Save