Skip to content

Commit f92f389

Browse files
committed
cleanup
1 parent 084c8ea commit f92f389

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
BaseModel,
77
ConfigDict,
88
EmailStr,
9+
Field,
910
HttpUrl,
1011
StringConstraints,
1112
model_validator,
@@ -31,10 +32,12 @@ class ProjectsGroupsBodyParams(InputSchema):
3132
class ProjectShare(InputSchema):
3233
sharee_email: EmailStr
3334
sharer_message: Annotated[
34-
str, StringConstraints(max_length=500, strip_whitespace=True)
35+
str,
36+
StringConstraints(max_length=500, strip_whitespace=True),
37+
Field(description="An optional message from sharer to sharee"),
3538
] = ""
3639

37-
# sharing access
40+
# Sharing access rights
3841
read: bool
3942
write: bool
4043
delete: bool

0 commit comments

Comments
 (0)