Skip to content

Commit f822129

Browse files
committed
typing
1 parent 5083454 commit f822129

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/lpdb/async_session/async_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import aiohttp
77

8-
from ..session import AbstractLpdbSession, LpdbError
8+
from ..session import AbstractLpdbSession, LpdbDataType, LpdbError
99
from ..defs import TeamTemplate
1010

1111
__all__ = ["AsyncLpdbSession"]
@@ -70,7 +70,7 @@ async def __handle_response(
7070
@override
7171
async def make_request(
7272
self,
73-
lpdb_datatype,
73+
lpdb_datatype: LpdbDataType,
7474
wiki: str | list[str],
7575
limit: int = 20,
7676
offset: int = 0,

src/lpdb/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_wikis() -> set[str]:
127127
@abstractmethod
128128
def make_request(
129129
self,
130-
lpdb_datatype,
130+
lpdb_datatype: LpdbDataType,
131131
wiki: str | list[str],
132132
limit: int = 20,
133133
offset: int = 0,
@@ -155,7 +155,7 @@ def make_request(
155155

156156
def make_count_request(
157157
self,
158-
lpdb_datatype,
158+
lpdb_datatype: LpdbDataType,
159159
wiki: str,
160160
conditions: Optional[str] = None,
161161
) -> int:
@@ -288,7 +288,7 @@ def __handle_response(response: requests.Response) -> list[dict[str, Any]]:
288288
@override
289289
def make_request(
290290
self,
291-
lpdb_datatype: str,
291+
lpdb_datatype: LpdbDataType,
292292
wiki: str | list[str],
293293
limit: int = 20,
294294
offset: int = 0,

0 commit comments

Comments
 (0)