Skip to content

Commit

Permalink
Merge pull request #4 from mrjsj/fix/notebookutils-import-error
Browse files Browse the repository at this point in the history
fix: notebookutils import error
  • Loading branch information
mrjsj authored Dec 1, 2024
2 parents cf90cbe + 3b3347d commit 4a16788
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Continuous Integration

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "msfabricutils"
version = "0.1.1"
version = "0.1.2"
description = "A Python library exposes additional functionality to work with Python Notebooks in Microsoft Fabric."
authors = [
{ name = "Jimmy Jensen" },
Expand Down
1 change: 1 addition & 0 deletions src/msfabricutils/fabric_duckdb_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Avoid import errors outside Fabric environments
try:
from sempy import fabric
import notebookutils
except ModuleNotFoundError:
pass

Expand Down

0 comments on commit 4a16788

Please sign in to comment.