Browse Source
style: reformat code to pass the check-linting test
pull/277/head
Salem Wafi
1 year ago
No known key found for this signature in database
GPG Key ID: 6451BA63EAE5EFC8
1 changed files with
4 additions and
6 deletions
-
src/keycloak/keycloak_admin.py
|
|
@ -2165,13 +2165,11 @@ class KeycloakAdmin: |
|
|
|
params = {"briefRepresentation": brief_representation} |
|
|
|
|
|
|
|
# set the search_text path param, if it is a valid string |
|
|
|
if search_text is not None and search_text.strip() != '': |
|
|
|
if search_text is not None and search_text.strip() != "": |
|
|
|
params_path["search-text"] = search_text |
|
|
|
url = urls_patterns.URL_ADMIN_REALM_ROLES_SEARCH |
|
|
|
|
|
|
|
data_raw = self.connection.raw_get( |
|
|
|
url.format(**params_path), **params |
|
|
|
) |
|
|
|
data_raw = self.connection.raw_get(url.format(**params_path), **params) |
|
|
|
return raise_error_from_response(data_raw, KeycloakGetError) |
|
|
|
|
|
|
|
def get_realm_role_members(self, role_name, query=None): |
|
|
|