Skip to content

Commit 578e1c8

Browse files
committed
fix remaining items left in aio.pyi
1 parent 68850b4 commit 578e1c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stubs/cysqlite/cysqlite/aio.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ class _AsyncTransactionWrapper:
106106
async def __aexit__(
107107
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: types.TracebackType | None
108108
) -> None: ...
109-
async def commit(self, *args) -> None: ...
110-
async def rollback(self, *args) -> None: ...
109+
async def commit(self, *args: Any) -> None: ...
110+
async def rollback(self, *args: Any) -> None: ...
111111

112112
class AsyncTransaction(_AsyncTransactionWrapper):
113113
def get_wrapper(self) -> Transaction: ...
@@ -117,7 +117,7 @@ class AsyncSavepoint(_AsyncTransactionWrapper):
117117

118118
class AsyncAtomic(_AsyncTransactionWrapper):
119119
def get_wrapper(self) -> Atomic: ...
120-
async def commit(self, *args) -> None: ...
121-
async def rollback(self, *args) -> None: ...
120+
async def commit(self, *args: Any) -> None: ...
121+
async def rollback(self, *args: Any) -> None: ...
122122

123123
def connect(database: str, **kwargs: Unpack[_ConnectKwargs]) -> AsyncConnection: ...

0 commit comments

Comments
 (0)