Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsj committed Dec 1, 2024
1 parent 8372642 commit d79ce5d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/msfabricutils/fabric_duckdb_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
import sqlglot
from sqlglot import exp

from sempy import fabric

# Avoid import errors outside Fabric environments
try:
from sempy import fabric
except ModuleNotFoundError:
pass

class FabricDuckDBConnection:
"""A DuckDB connection wrapper for Microsoft Fabric Lakehouses.
Expand Down

0 comments on commit d79ce5d

Please sign in to comment.