From 8318953a1752a2877b99743be271025ba0fd8126 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Wed, 22 Mar 2017 08:02:38 -0700 Subject: [PATCH] remove `if TYPE_CHECKING` in sqlalchemy stub (#1074) This isn't needed in typeshed, since the stubs aren't executed. --- third_party/2and3/sqlalchemy/engine/interfaces.pyi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/third_party/2and3/sqlalchemy/engine/interfaces.pyi b/third_party/2and3/sqlalchemy/engine/interfaces.pyi index c35c05a8e..0c6a43223 100644 --- a/third_party/2and3/sqlalchemy/engine/interfaces.pyi +++ b/third_party/2and3/sqlalchemy/engine/interfaces.pyi @@ -1,8 +1,6 @@ from typing import Any, TYPE_CHECKING from .result import ResultProxy - -if TYPE_CHECKING: - from .base import Connection +from .base import Connection class Connectable: def execute(self, object, *multiparams: Any, **params: Any) -> ResultProxy: ...