File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33from workos .types .workos_model import WorkOSModel
44
55
6- class Resource (WorkOSModel ):
7- """Representation of a WorkOS Authorization Resource."""
6+ class AuthorizationResource (WorkOSModel ):
87
98 object : Literal ["authorization_resource" ]
109 id : str
@@ -14,7 +13,5 @@ class Resource(WorkOSModel):
1413 resource_type_slug : str
1514 organization_id : str
1615 parent_resource_id : Optional [str ] = None
17- meta : Optional [Mapping [str , Any ]] = None
18- environment_id : Optional [str ] = None
1916 created_at : str
2017 updated_at : str
Original file line number Diff line number Diff line change 44
55
66class RoleAssignmentRole (WorkOSModel ):
7- """The role associated with a role assignment."""
87
98 slug : str
109
1110
1211class RoleAssignmentResource (WorkOSModel ):
13- """The resource associated with a role assignment."""
1412
1513 id : str
1614 external_id : str
1715 resource_type_slug : str
1816
1917
2018class RoleAssignment (WorkOSModel ):
21- """Representation of a WorkOS Authorization Role Assignment."""
2219
2320 object : Literal ["role_assignment" ]
2421 id : str
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def _prepare_request(
135135 params Optional[dict]: Query params or body payload to be added to the request
136136 headers Optional[dict]: Custom headers to be added to the request
137137 token Optional[str]: Bearer token
138- force_include_body (bool): If True, allows sending a body with DELETE requests
138+ force_include_body (bool): If True, allows sending a body in a bodyless request (used for DELETE requests)
139139
140140 Returns:
141141 dict: Response from WorkOS
You can’t perform that action at this time.
0 commit comments