Skip to content

Commit

Permalink
sqlglot dep
Browse files Browse the repository at this point in the history
  • Loading branch information
jsj committed Dec 24, 2024
1 parent bad3e07 commit e707971
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"azure-identity>=1.17.1",
"duckdb>=1.1.3",
"deltalake>=0.22.0",
"sqlglot>=25.32.1",
"sqlglot<25.19,>=23.4",
"polars-lts-cpu==1.16.0 ; sys_platform == 'darwin'",
"polars==1.16.0 ; sys_platform == 'win32' or sys_platform == 'linux'",
]
Expand Down
6 changes: 3 additions & 3 deletions src/msfabricutils/common/fabric_duckdb_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def _create_or_replace_fabric_lakehouse_secret(self, catalog_name: str) -> None:
def _register_lakehouse_tables(
self, workspace_name: str, workspace_id: str, lakehouse_id: str, lakehouse_name: str
) -> None:
tables = get_workspace_lakehouse_tables(workspace_id, lakehouse_id)
tables = get_workspace_lakehouse_tables(workspace_id=workspace_id, lakehouse_id=lakehouse_id)

if not tables:
table_information = {
Expand Down Expand Up @@ -406,11 +406,11 @@ def register_workspace_lakehouses(self, workspace_id: str, lakehouses: str | lis
if isinstance(lakehouses, str):
lakehouses = [lakehouses]

workspace_info = get_workspace(workspace_id)
workspace_info = get_workspace(workspace_id=workspace_id)

workspace_name = workspace_info["displayName"]

lakehouse_properties = get_workspace_lakehouses(workspace_id)
lakehouse_properties = get_workspace_lakehouses(workspace_id=workspace_id)

selected_lakehouses = [
lakehouse
Expand Down

0 comments on commit e707971

Please sign in to comment.