Skip to content

Commit 007591e

Browse files
Merge pull request #421 from supertokens/fix/docs-build
fix: Docs building
2 parents 7e77b92 + bfe2ab9 commit 007591e

File tree

1 file changed

+5
-3
lines changed
  • supertokens_python/recipe/multitenancy/syncio

1 file changed

+5
-3
lines changed

supertokens_python/recipe/multitenancy/syncio/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
14-
15-
from typing import Any, Dict, Optional
14+
from __future__ import annotations
15+
from typing import Any, Dict, Optional, TYPE_CHECKING
1616

1717
from supertokens_python.async_to_sync_wrapper import sync
18-
from ..interfaces import TenantConfig, ProviderConfig
18+
19+
if TYPE_CHECKING:
20+
from ..interfaces import TenantConfig, ProviderConfig
1921

2022

2123
def create_or_update_tenant(

0 commit comments

Comments
 (0)