mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 12:46:39 +00:00
fix: typing
This commit is contained in:
parent
3c53251caa
commit
73ec9fab81
|
@ -23,13 +23,13 @@ class UserType(Enum):
|
|||
@strawberry.type
|
||||
class User:
|
||||
username: str
|
||||
user_type: UserType
|
||||
|
||||
ssh_keys: Optional[list[str]] = strawberry.field(default_factory=list)
|
||||
user_type: Optional[UserType] = None
|
||||
directmemberof: Optional[list[str]] = strawberry.field(default_factory=list)
|
||||
memberof: Optional[list[str]] = strawberry.field(default_factory=list)
|
||||
displayname: Optional[str] = None
|
||||
email: Optional[str] = None
|
||||
directmemberof: Optional[list[str]] = []
|
||||
memberof: Optional[list[str]] = []
|
||||
|
||||
|
||||
@strawberry.type
|
||||
|
|
Loading…
Reference in a new issue