Skip to content

Commit dfc8d2a

Browse files
committed
make sure all constants are in
1 parent c0257a2 commit dfc8d2a

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

_duckdb-stubs/__init__.pyi

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,13 +1412,13 @@ def write_csv(
14121412
write_partition_columns: bool | None = None,
14131413
) -> None: ...
14141414

1415-
__formatted_python_version__: str = "3.11"
1416-
__git_revision__: str = "b8a06e4a22"
1417-
__interactive__: bool = False
1418-
__jupyter__: bool = False
1419-
__standard_vector_size__: int = 2048
1420-
__version__: str = "1.4.0"
1415+
__formatted_python_version__: str
1416+
__git_revision__: str
1417+
__interactive__: bool
1418+
__jupyter__: bool
1419+
__standard_vector_size__: int
1420+
__version__: str
14211421
_clean_default_connection: pytyping.Any # value = <capsule object>
1422-
apilevel: str = "2.0"
1423-
paramstyle: str = "qmark"
1424-
threadsafety: int = 1
1422+
apilevel: str
1423+
paramstyle: str
1424+
threadsafety: int

duckdb/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
TransactionException,
6262
TypeMismatchException,
6363
Warning,
64+
__formatted_python_version__,
65+
__git_revision__,
66+
__interactive__,
67+
__jupyter__,
68+
__standard_vector_size__,
69+
_clean_default_connection,
6470
aggregate,
6571
alias,
6672
apilevel,
@@ -280,6 +286,13 @@
280286
"UnsignedShortValue",
281287
"Value",
282288
"Warning",
289+
"__formatted_python_version__",
290+
"__git_revision__",
291+
"__interactive__",
292+
"__jupyter__",
293+
"__standard_vector_size__",
294+
"__version__",
295+
"_clean_default_connection",
283296
"aggregate",
284297
"alias",
285298
"apilevel",
@@ -330,6 +343,7 @@
330343
"map_type",
331344
"order",
332345
"paramstyle",
346+
"paramstyle",
333347
"pl",
334348
"project",
335349
"query",
@@ -353,6 +367,7 @@
353367
"table_function",
354368
"tf",
355369
"threadsafety",
370+
"threadsafety",
356371
"token_type",
357372
"tokenize",
358373
"torch",

0 commit comments

Comments
 (0)