From fcf16a905944ae3036fc9c68a3931a6332f51678 Mon Sep 17 00:00:00 2001 From: dettlaff Date: Mon, 9 Dec 2024 12:48:05 +0400 Subject: [PATCH] fix: typing 100% --- selfprivacy_api/graphql/mutations/users_mutations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfprivacy_api/graphql/mutations/users_mutations.py b/selfprivacy_api/graphql/mutations/users_mutations.py index e35a2e9..83e9eaf 100644 --- a/selfprivacy_api/graphql/mutations/users_mutations.py +++ b/selfprivacy_api/graphql/mutations/users_mutations.py @@ -63,11 +63,11 @@ class UserMutationInput: """Input type for user mutation""" username: str + directmemberof: Optional[list[str]] = strawberry.field(default_factory=list) + memberof: Optional[list[str]] = strawberry.field(default_factory=list) password: Optional[str] = None displayname: Optional[str] = None email: Optional[str] = None - directmemberof: Optional[list[str]] = [] - memberof: Optional[list[str]] = [] @strawberry.input