]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove old _TP typevar
authorYurii Karabas <1998uriyyo@gmail.com>
Wed, 15 Nov 2023 13:23:25 +0000 (15:23 +0200)
committerYurii Karabas <1998uriyyo@gmail.com>
Wed, 15 Nov 2023 13:23:25 +0000 (15:23 +0200)
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/engine/row.py
lib/sqlalchemy/ext/asyncio/result.py
lib/sqlalchemy/sql/_typing.py
lib/sqlalchemy/util/typing.py

index 239af9895140bc266707908b7892456397fb8d38..ca8b6c92f0611924c68ac7d5e975bf722221e19e 100644 (file)
@@ -76,7 +76,6 @@ _RawRowType = Tuple[Any, ...]
 
 _R = TypeVar("_R", bound=_RowData)
 _T = TypeVar("_T", bound=Any)
-_TP = TypeVar("_TP", bound=Tuple[Any, ...])
 _Ts = TypeVarTuple("_Ts")
 
 _InterimRowType = Union[_R, _RawRowType]
index bb920ead4a31af49714a99d125eeef27e5f569fe..e164b45a71b75e84e0fc838f2aec31b73d48c566 100644 (file)
@@ -49,7 +49,6 @@ else:
 
 
 _T = TypeVar("_T", bound=Any)
-_TP = TypeVar("_TP", bound=Tuple[Any, ...])
 _Ts = TypeVarTuple("_Ts")
 
 
index 214cc1050ce17bad51db7d7614fbe21b2928285c..506a1fba331b0afcc2781a49170c5f6f2780b6f4 100644 (file)
@@ -40,7 +40,6 @@ if TYPE_CHECKING:
     from ...engine.result import _UniqueFilterType
 
 _T = TypeVar("_T", bound=Any)
-_TP = TypeVar("_TP", bound=Tuple[Any, ...])
 _Ts = TypeVarTuple("_Ts")
 
 
index 4ecc44700e4aa62916d285a0fec6f49b3776a538..b0f40face92adf4dd19495e275fe2f6962f732c5 100644 (file)
@@ -156,8 +156,6 @@ _TypedColumnClauseArgument = Union[
     Type[_T],
 ]
 
-_TP = TypeVar("_TP", bound=Tuple[Any, ...])
-
 _T0 = TypeVar("_T0", bound=Any)
 _T1 = TypeVar("_T1", bound=Any)
 _T2 = TypeVar("_T2", bound=Any)
index ce2c0c34cefacab7ccd45fe0f3483e94cc6dd419..66a648b2e7dc01e4660fdd365075753f0c4018c7 100644 (file)
@@ -57,7 +57,6 @@ if True:  # zimports removes the tailing comments
 
 
 _T = TypeVar("_T", bound=Any)
-_Ts = TypeVarTuple("_Ts")
 _KT = TypeVar("_KT")
 _KT_co = TypeVar("_KT_co", covariant=True)
 _KT_contra = TypeVar("_KT_contra", contravariant=True)