From bf141227f8293b1eea1ab82fa08e8ecb2152eb5d Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Mon, 11 Nov 2024 17:13:50 +0530 Subject: [PATCH] adding dev-v0.25.1 tag to this commit to ensure building --- .../multitenancy/get_third_party_config.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/html/supertokens_python/recipe/dashboard/api/multitenancy/get_third_party_config.html b/html/supertokens_python/recipe/dashboard/api/multitenancy/get_third_party_config.html index e5f5ee74..c79edf20 100644 --- a/html/supertokens_python/recipe/dashboard/api/multitenancy/get_third_party_config.html +++ b/html/supertokens_python/recipe/dashboard/api/multitenancy/get_third_party_config.html @@ -171,7 +171,7 @@

Module supertokens_python.recipe.dashboard.api.multitena for existing_client in providers_from_core[0].clients: existing_client.additional_config = { **(existing_client.additional_config or {}), - **additional_config + **additional_config, } # filter out other providers from static @@ -225,7 +225,10 @@

Module supertokens_python.recipe.dashboard.api.multitena for merged_provider in merged_providers_from_core_and_static: if merged_provider.config.third_party_id == third_party_id: - if merged_provider.config.clients is None or len(merged_provider.config.clients) == 0: + if ( + merged_provider.config.clients is None + or len(merged_provider.config.clients) == 0 + ): merged_provider.config.clients = [ ProviderClientConfig( client_id="nonguessable-temporary-client-id", @@ -245,7 +248,7 @@

Module supertokens_python.recipe.dashboard.api.multitena if provider.config.third_party_id == third_party_id: found_correct_config = False - for client in (provider.config.clients or []): + for client in provider.config.clients or []: try: provider_instance = await find_and_create_provider_instance( merged_providers_from_core_and_static, @@ -482,7 +485,7 @@

Functions

for existing_client in providers_from_core[0].clients: existing_client.additional_config = { **(existing_client.additional_config or {}), - **additional_config + **additional_config, } # filter out other providers from static @@ -536,7 +539,10 @@

Functions

for merged_provider in merged_providers_from_core_and_static: if merged_provider.config.third_party_id == third_party_id: - if merged_provider.config.clients is None or len(merged_provider.config.clients) == 0: + if ( + merged_provider.config.clients is None + or len(merged_provider.config.clients) == 0 + ): merged_provider.config.clients = [ ProviderClientConfig( client_id="nonguessable-temporary-client-id", @@ -556,7 +562,7 @@

Functions

if provider.config.third_party_id == third_party_id: found_correct_config = False - for client in (provider.config.clients or []): + for client in provider.config.clients or []: try: provider_instance = await find_and_create_provider_instance( merged_providers_from_core_and_static,