Skip to content

Commit 781125d

Browse files
committed
Import types only during type check in http
1 parent 76baa89 commit 781125d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apininjas/http.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
MethodNotAllowed,
3737
APINinjasServerError,
3838
)
39-
from .types import finance
4039

4140
if TYPE_CHECKING:
41+
from .types import finance
42+
4243
T = TypeVar("T")
4344
Response = Coroutine[Any, Any, T]
4445

0 commit comments

Comments
 (0)