Skip to content

Commit 206d50e

Browse files
committed
refactor: use base classes for configs/overrides/interfaces
1 parent da78c98 commit 206d50e

File tree

15 files changed

+15
-0
lines changed

15 files changed

+15
-0
lines changed

supertokens_python/recipe/accountlinking/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
log_debug_message,
2424
)
2525
from supertokens_python.normalised_url_path import NormalisedURLPath
26+
from supertokens_python.plugins import OverrideMap, apply_plugins
2627
from supertokens_python.process_state import PROCESS_STATE, ProcessState
2728
from supertokens_python.querier import Querier
2829
from supertokens_python.recipe_module import APIHandled, RecipeModule

supertokens_python/recipe/dashboard/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, List, Optional
1818

1919
from supertokens_python.normalised_url_path import NormalisedURLPath
20+
from supertokens_python.plugins import OverrideMap, apply_plugins
2021
from supertokens_python.recipe.dashboard.api.multitenancy.create_or_update_third_party_config import (
2122
handle_create_or_update_third_party_config,
2223
)

supertokens_python/recipe/emailpassword/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from supertokens_python.ingredients.emaildelivery import EmailDeliveryIngredient
2121
from supertokens_python.ingredients.emaildelivery.types import EmailDeliveryConfig
2222
from supertokens_python.normalised_url_path import NormalisedURLPath
23+
from supertokens_python.plugins import OverrideMap, apply_plugins
2324
from supertokens_python.recipe.emailpassword.types import (
2425
EmailPasswordIngredients,
2526
EmailTemplateVars,

supertokens_python/recipe/jwt/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from os import environ
1717
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
1818

19+
from supertokens_python.plugins import OverrideMap, apply_plugins
1920
from supertokens_python.querier import Querier
2021
from supertokens_python.recipe.jwt.api.implementation import APIImplementation
2122
from supertokens_python.recipe.jwt.api.jwks_get import jwks_get

supertokens_python/recipe/multifactorauth/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from supertokens_python.exceptions import SuperTokensError, raise_general_exception
2020
from supertokens_python.framework import BaseRequest, BaseResponse
2121
from supertokens_python.normalised_url_path import NormalisedURLPath
22+
from supertokens_python.plugins import OverrideMap, apply_plugins
2223
from supertokens_python.post_init_callbacks import PostSTInitCallbacks
2324
from supertokens_python.querier import Querier
2425
from supertokens_python.recipe.multifactorauth.api import (

supertokens_python/recipe/multitenancy/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
1818

1919
from supertokens_python.exceptions import SuperTokensError, raise_general_exception
20+
from supertokens_python.plugins import OverrideMap, apply_plugins
2021
from supertokens_python.recipe.session.claim_base_classes.primitive_array_claim import (
2122
PrimitiveArrayClaim,
2223
)

supertokens_python/recipe/oauth2provider/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
1919

2020
from supertokens_python.exceptions import SuperTokensError, raise_general_exception
21+
from supertokens_python.plugins import OverrideMap, apply_plugins
2122
from supertokens_python.recipe.oauth2provider.exceptions import OAuth2ProviderError
2223
from supertokens_python.recipe_module import APIHandled, RecipeModule
2324
from supertokens_python.types import User

supertokens_python/recipe/openid/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from os import environ
1717
from typing import TYPE_CHECKING, Any, Dict, List, Union
1818

19+
from supertokens_python.plugins import OverrideMap, apply_plugins
1920
from supertokens_python.querier import Querier
2021

2122
from .api.implementation import APIImplementation

supertokens_python/recipe/passwordless/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from supertokens_python.ingredients.emaildelivery import EmailDeliveryIngredient
2323
from supertokens_python.ingredients.emaildelivery.types import EmailDeliveryConfig
2424
from supertokens_python.ingredients.smsdelivery import SMSDeliveryIngredient
25+
from supertokens_python.plugins import OverrideMap, apply_plugins
2526
from supertokens_python.querier import Querier
2627
from supertokens_python.recipe.multifactorauth.recipe import MultiFactorAuthRecipe
2728
from supertokens_python.recipe.multifactorauth.types import (

supertokens_python/recipe/thirdparty/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from typing import TYPE_CHECKING, Any, Dict, List, Union
1818

1919
from supertokens_python.normalised_url_path import NormalisedURLPath
20+
from supertokens_python.plugins import OverrideMap, apply_plugins
2021
from supertokens_python.querier import Querier
2122
from supertokens_python.recipe_module import APIHandled, RecipeModule
2223

0 commit comments

Comments
 (0)