From 36a243897d3d66ac2068a49ef2b40cf438043fd7 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Fri, 6 Oct 2023 12:57:17 -0400 Subject: [PATCH] Convert to js types when including inline data in pre-transform result --- vegafusion-python-embed/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vegafusion-python-embed/src/lib.rs b/vegafusion-python-embed/src/lib.rs index 5fdb7e0d..f0f743ce 100644 --- a/vegafusion-python-embed/src/lib.rs +++ b/vegafusion-python-embed/src/lib.rs @@ -360,6 +360,7 @@ impl PyVegaFusionRuntime { let datasets = datasets .into_iter() .map(|(name, scope, table)| { + let table = table.to_js_types()?; let name = name.into_py(py); let scope = scope.into_py(py); let table = match extracted_format.as_str() {