diff --git a/hishel/_async/_storages.py b/hishel/_async/_storages.py index 9b8137f0..9dccdc95 100644 --- a/hishel/_async/_storages.py +++ b/hishel/_async/_storages.py @@ -156,7 +156,7 @@ class AsyncSQLiteStorage(AsyncBaseStorage): def __init__( self, serializer: tp.Optional[BaseSerializer] = None, - connection: tp.Optional["anysqlite.Connection"] = None, # type: ignore + connection: tp.Optional["anysqlite.Connection"] = None, ttl: tp.Optional[int] = None, ) -> None: if anysqlite is None: # pragma: no cover diff --git a/hishel/_sync/_storages.py b/hishel/_sync/_storages.py index e3f78f0b..81cc1a7a 100644 --- a/hishel/_sync/_storages.py +++ b/hishel/_sync/_storages.py @@ -156,7 +156,7 @@ class SQLiteStorage(BaseStorage): def __init__( self, serializer: tp.Optional[BaseSerializer] = None, - connection: tp.Optional["sqlite3.Connection"] = None, # type: ignore + connection: tp.Optional["sqlite3.Connection"] = None, ttl: tp.Optional[int] = None, ) -> None: if sqlite3 is None: # pragma: no cover