From 90948b727b0929269edef5910ccd95ab799bb92c Mon Sep 17 00:00:00 2001 From: dettlaff Date: Thu, 19 Dec 2024 00:35:33 +0400 Subject: [PATCH] fix: imports --- selfprivacy_api/graphql/mutations/users_mutations.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/selfprivacy_api/graphql/mutations/users_mutations.py b/selfprivacy_api/graphql/mutations/users_mutations.py index 34180dd..5308b44 100644 --- a/selfprivacy_api/graphql/mutations/users_mutations.py +++ b/selfprivacy_api/graphql/mutations/users_mutations.py @@ -27,7 +27,6 @@ from selfprivacy_api.actions.users import ( generate_password_reset_link as generate_password_reset_link_action, ) from selfprivacy_api.repositories.users.exceptions import ( - DisplaynameNotAlphanumeric, DisplaynameTooLong, NoPasswordResetLinkFoundInResponse, PasswordIsEmpty, @@ -48,7 +47,7 @@ from selfprivacy_api.repositories.users.exceptions_kanidm import ( KanidmReturnUnknownResponseType, KanidmCliSubprocessError, ) -from selfprivacy_api import PLEASE_UPDATE_APP_TEXT +from selfprivacy_api.utils.strings import PLEASE_UPDATE_APP_TEXT FAILED_TO_SETUP_PASSWORD_TEXT = "Failed to set a password for a user. The problem occurred due to an old version of the SelfPrivacy app." @@ -105,7 +104,6 @@ class UsersMutations: InvalidConfiguration, KanidmDidNotReturnAdminPassword, KanidmQueryError, - DisplaynameNotAlphanumeric, DisplaynameTooLong, KanidmCliSubprocessError, FailedToGetValidKanidmToken, @@ -188,7 +186,6 @@ class UsersMutations: SelfPrivacyAppIsOutdate, KanidmDidNotReturnAdminPassword, KanidmQueryError, - DisplaynameNotAlphanumeric, DisplaynameTooLong, KanidmCliSubprocessError, FailedToGetValidKanidmToken,