We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6070923 commit 7e53835Copy full SHA for 7e53835
ydb_dbapi/cursors.py
@@ -5,6 +5,7 @@
5
from collections.abc import Generator
6
from collections.abc import Iterator
7
from collections.abc import Sequence
8
+from typing import TYPE_CHECKING
9
from typing import Any
10
from typing import Union
11
@@ -18,14 +19,15 @@
18
19
from .utils import handle_ydb_errors
20
from .utils import maybe_get_current_trace_id
21
-ParametersType = dict[
22
- str,
23
- Union[
24
- Any,
25
- tuple[Any, Union[ydb.PrimitiveType, ydb.AbstractTypeBuilder]],
26
- ydb.TypedValue,
27
- ],
28
-]
+if TYPE_CHECKING:
+ ParametersType = dict[
+ str,
+ Union[
+ Any,
+ tuple[Any, Union[ydb.PrimitiveType, ydb.AbstractTypeBuilder]],
+ ydb.TypedValue,
29
+ ],
30
+ ]
31
32
33
def _get_column_type(type_obj: Any) -> str:
0 commit comments