mirror of
https://github.com/fastapi/sqlmodel.git
synced 2026-03-13 09:29:54 +08:00
🐛 Fix tuple_ return type annotation (#1639)
* 🐛 Fix `tuple_` type hinting mistake * 🐛 Forgetting to remove unnecessary parts of type hints --------- Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
This commit is contained in:
@@ -179,8 +179,8 @@ def over(
|
||||
def tuple_(
|
||||
*clauses: _ColumnExpressionArgument[Any] | Any,
|
||||
types: Sequence["_TypeEngineArgument[Any]"] | None = None,
|
||||
) -> tuple[Any, ...]:
|
||||
return sqlalchemy.tuple_(*clauses, types=types) # type: ignore[return-value]
|
||||
) -> sqlalchemy.Tuple:
|
||||
return sqlalchemy.tuple_(*clauses, types=types)
|
||||
|
||||
|
||||
def type_coerce(
|
||||
|
||||
Reference in New Issue
Block a user