Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
.sw?
#OS X specific files.
.DS_store
#VSCode specifics
.vscode/

#==============================================================================#
# Build artifacts
Expand Down Expand Up @@ -45,6 +47,7 @@ cmake-build-release
cmake-build-relwithdebinfo
duckdb_packaging/duckdb_version.txt
test.db
tmp/

#==============================================================================#
# Python
Expand Down
9 changes: 9 additions & 0 deletions _duckdb-stubs/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ __all__: list[str] = [
"default_connection",
"description",
"df",
"disable_profiling",
"distinct",
"dtype",
"duplicate",
"enable_profiling",
"enum_type",
"execute",
"executemany",
Expand All @@ -109,6 +111,7 @@ __all__: list[str] = [
"from_df",
"from_parquet",
"from_query",
"get_profiling_information",
"get_table_names",
"install_extension",
"interrupt",
Expand Down Expand Up @@ -313,6 +316,9 @@ class DuckDBPyConnection:
repository_url: str | None = None,
version: str | None = None,
) -> None: ...
def get_profiling_information(self, format: str = "json") -> str: ...
def enable_profiling(self) -> None: ...
def disable_profiling(self) -> None: ...
def interrupt(self) -> None: ...
def list_filesystems(self) -> list[str]: ...
def list_type(self, type: sqltypes.DuckDBPyType) -> sqltypes.DuckDBPyType: ...
Expand Down Expand Up @@ -1227,6 +1233,9 @@ def limit(
*,
connection: DuckDBPyConnection | None = None,
) -> DuckDBPyRelation: ...
def get_profiling_information(*, connection: DuckDBPyConnection | None = None, format: str = "json") -> str: ...
def enable_profiling(*, connection: DuckDBPyConnection | None = None) -> None: ...
def disable_profiling(*, connection: DuckDBPyConnection | None = None) -> None: ...
def list_filesystems(*, connection: DuckDBPyConnection | None = None) -> list[str]: ...
def list_type(
type: sqltypes.DuckDBPyType, *, connection: DuckDBPyConnection | None = None
Expand Down
6 changes: 6 additions & 0 deletions duckdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@
default_connection,
description,
df,
disable_profiling,
distinct,
dtype,
duplicate,
enable_profiling,
enum_type,
execute,
executemany,
Expand All @@ -107,6 +109,7 @@
from_df,
from_parquet,
from_query,
get_profiling_information,
get_table_names,
install_extension,
interrupt,
Expand Down Expand Up @@ -310,9 +313,11 @@
"default_connection",
"description",
"df",
"disable_profiling",
"distinct",
"dtype",
"duplicate",
"enable_profiling",
"enum_type",
"execute",
"executemany",
Expand All @@ -333,6 +338,7 @@
"from_df",
"from_parquet",
"from_query",
"get_profiling_information",
"get_table_names",
"install_extension",
"interrupt",
Expand Down
3 changes: 3 additions & 0 deletions duckdb/query_graph/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .__main__ import translate_json_to_html

__all__ = ["translate_json_to_html"]
Loading
Loading