Last active
September 11, 2022 19:06
-
-
Save brccabral/168ea4026d01500905c9baf507aab2f7 to your computer and use it in GitHub Desktop.
Python circular import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
# other imports | |
from typing import TYPE_CHECKING | |
if TYPE_CHECKING: | |
from main import MyClass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment