Browse Source

Fixed linter.

pull/97/head
Marcos Pereira 5 years ago
parent
commit
c135a4ebb3
  1. 3
      keycloak/keycloak_admin.py

3
keycloak/keycloak_admin.py

@ -293,7 +293,6 @@ class KeycloakAdmin:
data_raw = self.raw_delete(URL_ADMIN_REALM.format(**params_path)) data_raw = self.raw_delete(URL_ADMIN_REALM.format(**params_path))
return raise_error_from_response(data_raw, KeycloakGetError, expected_code=204) return raise_error_from_response(data_raw, KeycloakGetError, expected_code=204)
def get_users(self, query=None): def get_users(self, query=None):
""" """
Return a list of users, filtered according to query parameters Return a list of users, filtered according to query parameters
@ -1182,7 +1181,6 @@ class KeycloakAdmin:
data_raw = self.raw_get(URL_ADMIN_CLIENT_SCOPE.format(**params_path)) data_raw = self.raw_get(URL_ADMIN_CLIENT_SCOPE.format(**params_path))
return raise_error_from_response(data_raw, KeycloakGetError) return raise_error_from_response(data_raw, KeycloakGetError)
def add_mapper_to_client_scope(self, client_scope_id, payload): def add_mapper_to_client_scope(self, client_scope_id, payload):
""" """
Add a mapper to a client scope Add a mapper to a client scope
@ -1316,7 +1314,6 @@ class KeycloakAdmin:
data=None) data=None)
return raise_error_from_response(data_raw, KeycloakGetError) return raise_error_from_response(data_raw, KeycloakGetError)
def raw_get(self, *args, **kwargs): def raw_get(self, *args, **kwargs):
""" """
Calls connection.raw_get. Calls connection.raw_get.

Loading…
Cancel
Save