]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix type annotations for selectable 9028/head
authorDzmitar <17720985+dzmitar@users.noreply.github.com>
Wed, 11 Jan 2023 22:57:52 +0000 (23:57 +0100)
committerDzmitar <17720985+dzmitar@users.noreply.github.com>
Wed, 11 Jan 2023 22:57:52 +0000 (23:57 +0100)
lib/sqlalchemy/sql/selectable.py

index 886dae33930198a626d5201a410349ef9e1809ae..0f190bb13730c979ecb91f22242733fe5be8f858 100644 (file)
@@ -1764,7 +1764,7 @@ class TableValuedAlias(LateralFromClause, Alias):
 
     def _init(
         self,
-        selectable,
+        selectable: Any,
         name: Optional[str] = None,
         table_value_type: Optional[TableValueType] = None,
         joins_implicitly: bool = False,