Skip to content

Commit 2041a5d

Browse files
committed
chores: Format
1 parent ee4b68d commit 2041a5d

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

supertokens_python/recipe/dashboard/api/list_tenants.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616

1717
from typing import TYPE_CHECKING, Any, Dict, List
1818

19-
from supertokens_python.recipe.dashboard.interfaces import (
20-
DashboardListTenantItem
21-
)
19+
from supertokens_python.recipe.dashboard.interfaces import DashboardListTenantItem
2220

2321
if TYPE_CHECKING:
2422
from supertokens_python.recipe.dashboard.interfaces import (
@@ -32,6 +30,7 @@
3230
DashboardListTenantsGetResponse,
3331
)
3432

33+
3534
async def handle_list_tenants_api(
3635
_api_implementation: APIInterface,
3736
_tenant_id: str,

supertokens_python/recipe/dashboard/interfaces.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ def to_json(self) -> Dict[str, Any]:
101101
}
102102

103103

104-
from supertokens_python.recipe.multitenancy.interfaces import EmailPasswordConfig, PasswordlessConfig, ThirdPartyConfig
104+
from supertokens_python.recipe.multitenancy.interfaces import (
105+
EmailPasswordConfig,
106+
PasswordlessConfig,
107+
ThirdPartyConfig,
108+
)
109+
105110

106111
class DashboardListTenantItem:
107112
def __init__(
@@ -126,6 +131,7 @@ def to_json(self):
126131

127132
return res
128133

134+
129135
class DashboardListTenantsGetResponse(APIResponse):
130136
status: str = "OK"
131137

supertokens_python/recipe/multitenancy/interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def to_json(self):
131131
"emailpassword": self.emailpassword.to_json(),
132132
"passwordless": self.passwordless.to_json(),
133133
"thirdParty": self.third_party.to_json(),
134-
"coreConfig": self.core_config
134+
"coreConfig": self.core_config,
135135
}
136136

137137
return res

0 commit comments

Comments
 (0)