Skip to content

Commit 2aa9909

Browse files
committed
More type changes
1 parent f3ef93d commit 2aa9909

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

src/workos/authorization.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
from typing import Any, Dict, Optional, Protocol, Sequence, Union
1+
from typing import Any, Dict, Optional, Protocol, Sequence
22

33
from pydantic import TypeAdapter
44

55
from workos.types.authorization.environment_role import (
66
EnvironmentRole,
77
EnvironmentRoleList,
88
)
9-
from workos.types.authorization.organization_role import (
10-
OrganizationRole,
11-
OrganizationRoleList,
12-
)
9+
from workos.types.authorization.organization_role import OrganizationRole
1310
from workos.types.authorization.permission import Permission
1411
from workos.types.authorization.role import Role, RoleList
1512
from workos.types.list_resource import (

src/workos/types/events/event_model.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@
5252
)
5353
from workos.types.organizations.organization_common import OrganizationCommon
5454
from workos.types.organization_domains import OrganizationDomain
55-
from workos.types.authorization.organization_role import (
56-
OrganizationRole,
57-
OrganizationRoleEvent,
58-
)
55+
from workos.types.authorization.organization_role import OrganizationRoleEvent
5956
from workos.types.authorization.permission import Permission
6057
from workos.types.roles.role import EventRole
6158
from workos.types.sso.connection import Connection

tests/test_session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)