user_group
UserGroupCreate
¶
Bases: BaseModel
Schema for UserGroup
creation
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
Group name |
Source code in fractal_server/app/schemas/user_group.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|
UserGroupRead
¶
Bases: BaseModel
Schema for UserGroup
read
NOTE: user_ids
does not correspond to a column of the UserGroup
table,
but it is rather computed dynamically in relevant endpoints.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
Group ID |
name |
str
|
Group name |
timestamp_created |
datetime
|
Creation timestamp |
user_ids |
Optional[list[int]]
|
IDs of users of this group |
Source code in fractal_server/app/schemas/user_group.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
UserGroupUpdate
¶
Bases: BaseModel
Schema for UserGroup
update
Source code in fractal_server/app/schemas/user_group.py
59 60 61 62 63 64 65 66 67 68 69 70 71 |
|