File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
supertokens_python/recipe/dashboard/api/multitenancy Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ async def get_third_party_config(
143143 for existing_client in providers_from_core [0 ].clients :
144144 existing_client .additional_config = {
145145 ** (existing_client .additional_config or {}),
146- ** additional_config
146+ ** additional_config ,
147147 }
148148
149149 # filter out other providers from static
@@ -197,7 +197,10 @@ async def get_third_party_config(
197197
198198 for merged_provider in merged_providers_from_core_and_static :
199199 if merged_provider .config .third_party_id == third_party_id :
200- if merged_provider .config .clients is None or len (merged_provider .config .clients ) == 0 :
200+ if (
201+ merged_provider .config .clients is None
202+ or len (merged_provider .config .clients ) == 0
203+ ):
201204 merged_provider .config .clients = [
202205 ProviderClientConfig (
203206 client_id = "nonguessable-temporary-client-id" ,
@@ -217,7 +220,7 @@ async def get_third_party_config(
217220 if provider .config .third_party_id == third_party_id :
218221 found_correct_config = False
219222
220- for client in ( provider .config .clients or []) :
223+ for client in provider .config .clients or []:
221224 try :
222225 provider_instance = await find_and_create_provider_instance (
223226 merged_providers_from_core_and_static ,
You can’t perform that action at this time.
0 commit comments