Skip to content

Commit 2cbec65

Browse files
committed
Fix stubs
1 parent b01a8a0 commit 2cbec65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libsql_experimental.pyi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class Connection:
4545
@property
4646
def in_transaction(self) -> bool: ...
4747

48+
@property
49+
def autocommit -> int: ...
50+
4851
def commit(self) -> None: ...
4952
def cursor(self) -> Cursor: ...
5053
def sync(self) -> None: ...
@@ -61,5 +64,6 @@ def connect(database: str,
6164
sync_url: str = ...,
6265
sync_interval: float = ...,
6366
auth_token: str = ...,
64-
encryption_key: str = ...) -> Connection:
67+
encryption_key: str = ...,
68+
autocommit: int = ...) -> Connection:
6569
"""Open a new libSQL connection, return a Connection object."""

0 commit comments

Comments
 (0)