From 48f36bba0a29163ffc221e445317b54299f0ffdb Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Thu, 9 May 2024 10:11:44 -0400 Subject: [PATCH] Add altair to lazy import checks --- python/vegafusion/checks/check_lazy_imports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/vegafusion/checks/check_lazy_imports.py b/python/vegafusion/checks/check_lazy_imports.py index 56289115..299cfb41 100644 --- a/python/vegafusion/checks/check_lazy_imports.py +++ b/python/vegafusion/checks/check_lazy_imports.py @@ -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"