We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084c8ea commit f92f389Copy full SHA for f92f389
packages/models-library/src/models_library/api_schemas_webserver/projects_access_rights.py
@@ -6,6 +6,7 @@
6
BaseModel,
7
ConfigDict,
8
EmailStr,
9
+ Field,
10
HttpUrl,
11
StringConstraints,
12
model_validator,
@@ -31,10 +32,12 @@ class ProjectsGroupsBodyParams(InputSchema):
31
32
class ProjectShare(InputSchema):
33
sharee_email: EmailStr
34
sharer_message: Annotated[
- 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"),
38
] = ""
39
- # sharing access
40
+ # Sharing access rights
41
read: bool
42
write: bool
43
delete: bool
0 commit comments