diff --git a/stubs/peewee/peewee.pyi b/stubs/peewee/peewee.pyi index 816b7a7e8d0c..045464145b73 100644 --- a/stubs/peewee/peewee.pyi +++ b/stubs/peewee/peewee.pyi @@ -403,7 +403,7 @@ class SQL(ColumnBase): def __init__(self, sql, params=None) -> None: ... def __sql__(self, ctx): ... -def Check(constraint, name=None): ... +def Check(constraint: str, name: str | None = None) -> SQL | NodeList: ... def Default(value) -> SQL: ... class Function(ColumnBase):