Skip to content

Commit

Permalink
Fixes types
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcarlos committed Oct 6, 2023
1 parent 2515a79 commit 746a62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ypy_websocket/stores/sqlite_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import time
from logging import Logger, getLogger
from typing import AsyncIterator, Awaitable, Callable
from typing import Any, AsyncIterator, Awaitable, Callable, Iterable

import aiosqlite
import anyio
Expand Down Expand Up @@ -166,7 +166,7 @@ async def get(self, path: str, updates: bool = False) -> dict | None:
if doc is None:
return None

list_updates: list[tuple[bytes, bytes, float]] = []
list_updates: Iterable[Any] = []
if updates:
cursor = await db.execute(
"SELECT yupdate, metadata, timestamp FROM yupdates WHERE path = ?",
Expand Down

0 comments on commit 746a62b

Please sign in to comment.