diff --git a/docs/docs/icechunk-python/virtual.md b/docs/docs/icechunk-python/virtual.md index 8e2e9ef0..f99400e8 100644 --- a/docs/docs/icechunk-python/virtual.md +++ b/docs/docs/icechunk-python/virtual.md @@ -118,9 +118,7 @@ store = IcechunkStore.create( With the store created, lets write our virtual dataset to Icechunk with VirtualiZarr! ```python -from virtualizarr.writers.icechunk import dataset_to_icechunk - -dataset_to_icechunk(virtual_ds, store) +virtual_ds.virtualize.to_icechunk(store) ``` The refs are written so lets save our progress by committing to the store.