stapi.responses import JSONResponse

from supertokens_python import Supertokens
from supertokens_python.exceptions import SuperTokensError
from supertokens_python.framework.fastapi.fastapi_request import FastApiRequest
from supertokens_python.framework.fastapi.fastapi_response import FastApiResponse
from supertokens_python.recipe.session import SessionRecipe
from supertokens_python.types import MaybeAwaitable
from supertokens_python.utils import (
    default_user_context,
    set_request_in_user_context_if