File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30946,16 +30946,6 @@ client.projects.roles.add(
3094630946<dd>
3094730947
3094830948**role:** `Role9E7Enum`
30949-
30950- User role in project
30951-
30952- * `OW` - Owner
30953- * `AD` - Administrator
30954- * `MA` - Manager
30955- * `RE` - Reviewer
30956- * `AN` - Annotator
30957- * `DI` - Deactivated
30958- * `NO` - Not Activated
3095930949
3096030950</dd>
3096130951</dl>
Original file line number Diff line number Diff line change @@ -103,15 +103,6 @@ def add(
103103 project : int
104104
105105 role : Role9E7Enum
106- User role in project
107-
108- * `OW` - Owner
109- * `AD` - Administrator
110- * `MA` - Manager
111- * `RE` - Reviewer
112- * `AN` - Annotator
113- * `DI` - Deactivated
114- * `NO` - Not Activated
115106
116107 user : int
117108
@@ -364,15 +355,6 @@ async def add(
364355 project : int
365356
366357 role : Role9E7Enum
367- User role in project
368-
369- * `OW` - Owner
370- * `AD` - Administrator
371- * `MA` - Manager
372- * `RE` - Reviewer
373- * `AN` - Annotator
374- * `DI` - Deactivated
375- * `NO` - Not Activated
376358
377359 user : int
378360
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ class BillingFlags(UncheckedBaseModel):
1717 allow_invite_project_experts : bool
1818 allow_nda : bool
1919 allow_organization_webhooks : bool
20+ allow_reviewing : bool
2021 allow_sso : bool
2122 allow_storage_proxy : bool
2223 automax_enabled : bool
Original file line number Diff line number Diff line change 33from ..core .unchecked_base_model import UncheckedBaseModel
44import typing
55from .role9e7enum import Role9E7Enum
6- import pydantic
76from ..core .pydantic_utilities import IS_PYDANTIC_V2
7+ import pydantic
88
99
1010class ProjectRole (UncheckedBaseModel ):
1111 id : typing .Optional [int ] = None
1212 project : int
13- role : Role9E7Enum = pydantic .Field ()
14- """
15- User role in project
16-
17- * `OW` - Owner
18- * `AD` - Administrator
19- * `MA` - Manager
20- * `RE` - Reviewer
21- * `AN` - Annotator
22- * `DI` - Deactivated
23- * `NO` - Not Activated
24- """
25-
13+ role : Role9E7Enum
2614 user : int
2715
2816 if IS_PYDANTIC_V2 :
You can’t perform that action at this time.
0 commit comments