File tree Expand file tree Collapse file tree 4 files changed +11
-17
lines changed
Expand file tree Collapse file tree 4 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 11from workos .types .authorization .environment_role import (
2- EnvironmentRole as EnvironmentRole ,
3- EnvironmentRoleList as EnvironmentRoleList ,
2+ EnvironmentRole ,
3+ EnvironmentRoleList ,
44)
55from workos .types .authorization .organization_role import (
6- OrganizationRole as OrganizationRole ,
7- OrganizationRoleEvent as OrganizationRoleEvent ,
8- OrganizationRoleList as OrganizationRoleList ,
9- )
10- from workos .types .authorization .permission import (
11- Permission as Permission ,
6+ OrganizationRole ,
7+ OrganizationRoleEvent ,
8+ OrganizationRoleList ,
129)
10+ from workos .types .authorization .permission import Permission
1311from workos .types .authorization .role import (
14- Role as Role ,
15- RoleList as RoleList ,
12+ Role ,
13+ RoleList ,
1614)
Original file line number Diff line number Diff line change @@ -322,7 +322,6 @@ class OrganizationRoleDeletedEvent(EventModel[OrganizationRoleEvent]):
322322 event : Literal ["organization_role.deleted" ]
323323
324324
325-
326325class PasswordResetCreatedEvent (EventModel [PasswordResetCommon ]):
327326 event : Literal ["password_reset.created" ]
328327
@@ -343,7 +342,6 @@ class PermissionDeletedEvent(EventModel[Permission]):
343342 event : Literal ["permission.deleted" ]
344343
345344
346-
347345class RoleCreatedEvent (EventModel [EventRole ]):
348346 event : Literal ["role.created" ]
349347
Original file line number Diff line number Diff line change @@ -328,7 +328,6 @@ class OrganizationRoleDeletedWebhook(WebhookModel[OrganizationRoleEvent]):
328328 event : Literal ["organization_role.deleted" ]
329329
330330
331-
332331class PasswordResetCreatedWebhook (WebhookModel [PasswordResetCommon ]):
333332 event : Literal ["password_reset.created" ]
334333
@@ -349,7 +348,6 @@ class PermissionDeletedWebhook(WebhookModel[Permission]):
349348 event : Literal ["permission.deleted" ]
350349
351350
352-
353351class RoleCreatedWebhook (WebhookModel [EventRole ]):
354352 event : Literal ["role.created" ]
355353
Original file line number Diff line number Diff line change @@ -785,6 +785,6 @@ def get_client():
785785
786786 first_client = clients [0 ]
787787 for client in clients [1 :]:
788- assert client is first_client , (
789- "All concurrent calls should return the same instance"
790- )
788+ assert (
789+ client is first_client
790+ ), "All concurrent calls should return the same instance"
You can’t perform that action at this time.
0 commit comments