You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes imports are used only for type checking. Python recommends placing these imports under a if TYPE_CHECKING condition: https://docs.python.org/3/library/typing.html#typing.TYPE_CHECKING, which can be used to reduce the cost of imports during runtime or to break circular dependencies. Is it possible to have an option to exclude these imports?
The text was updated successfully, but these errors were encountered:
Sometimes imports are used only for type checking. Python recommends placing these imports under a
if TYPE_CHECKING
condition: https://docs.python.org/3/library/typing.html#typing.TYPE_CHECKING, which can be used to reduce the cost of imports during runtime or to break circular dependencies. Is it possible to have an option to exclude these imports?The text was updated successfully, but these errors were encountered: