Skip to content

Commit 93c2599

Browse files
committed
adds requested fields
1 parent 572751c commit 93c2599

File tree

1 file changed

+14
-0
lines changed
  • packages/models-library/src/models_library/api_schemas_webserver

1 file changed

+14
-0
lines changed

packages/models-library/src/models_library/api_schemas_webserver/users.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,20 @@ class UserAccountGet(OutputSchema):
389389
),
390390
] = None
391391

392+
# user (if an account was created)
393+
user_id: Annotated[
394+
UserID | None,
395+
Field(description="Unique identifier of the user if an account was created"),
396+
]
397+
user_name: Annotated[
398+
UserNameID | None,
399+
Field(description="Username of the user if an account was created"),
400+
]
401+
user_primary_group_id: Annotated[
402+
GroupID | None,
403+
Field(description="Primary group ID of the user if an account was created"),
404+
]
405+
392406
@field_validator("status")
393407
@classmethod
394408
def _consistency_check(cls, v, info: ValidationInfo):

0 commit comments

Comments
 (0)