Skip to content

Commit

Permalink
Add altair to lazy import checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed May 9, 2024
1 parent f4e68ac commit 48f36bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/vegafusion/checks/check_lazy_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
import vegafusion as vf
import vegafusion_embed

for mod in ["polars", "pandas", "pyarrow", "duckdb"]:
assert mod not in sys.modules
for mod in ["polars", "pandas", "pyarrow", "duckdb", "altair"]:
assert mod not in sys.modules, f"{mod} module should be imported lazily"

0 comments on commit 48f36bb

Please sign in to comment.