<#3205 feat: Add Xarray zarr persistence support> ...
# flyte-github
c
#3205 feat: Add Xarray zarr persistence support Pull request opened by ljstrnadiii ## Why are the changes needed? There is currently no support for xarray object types. ## What changes were proposed in this pull request? This plugin allows us to persist the data to zarr and trigger computation (on the local cluster or dask cluster if used). This is powerful when combined with the dask cluster and takes away the need for a user to manually pass around a path to a zarr store. ## How was this patch tested? On a remote flyte cluster in another project installed with
Copy code
pip install git+https://github.com/ljstrnadiii/flytekit.git@add_xarray_support#subdirectory=plugins/flytekit-xarray-zarr
### Setup process ### Screenshots Screenshots of inputs/outputs when deck is enabled: [Screenshot 2025-03-20 at 7 22 31 PM](https://private-user-images.githubusercontent.com/3171991/425240436-25158e48-1f61-4482-92de-77b6251815c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQyMjg1OTYsIm5iZiI6MTc0NDIyODI5NiwicGF0aCI6Ii8zMTcxOTkxLzQyNTI0MDQzNi0yNTE1OGU0OC0xZjYxLTQ0ODItOTJkZS03N2I2MjUxODE1YzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDQwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA0MDlUMTk1MTM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTUzZjNmNjE2OWFmY2Q1ZjE5YzIxZDdkOWVkOWE4MmIxNTM2OGRlNTljNGUyNDI5ZWU0MWRkMDE5YjM0YWUxOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ey3LaIJL1KmR9fF9kARH4FdNXGkDmqyHs5EdTWNFzxc) [Screenshot 2025-03-20 at 7 22 25 PM](https://private-user-images.githubusercontent.com/3171991/425240432-9f8296f4-7af7-476e-8a58-b3751504165a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQyMjg1OTYsIm5iZiI6MTc0NDIyODI5NiwicGF0aCI6Ii8zMTcxOTkxLzQyNTI0MDQzMi05ZjgyOTZmNC03YWY3LTQ3NmUtOGE1OC1iMzc1MTUwNDE2NWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDQwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA0MDlUMTk1MTM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGE1M2VlYzQ4NmVkOTkwNzJlMDc0MmFhOGE0MWViNWJkMjRiODY3ODA0NzI0NmRlMmFiZDljZWNiNGI3YzY5ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.AAkQqnvpYByLtzVtjv8AFztBy4PtH3bayrLqCMFlBJA) ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ### Summary by Bito This PR enhances Flytekit with a new LOCAL_DYNAMIC_TASK_EXECUTION mode and adds support for community plugins within the xarray zarr persistence feature. It modernizes internal execution checks, implements type transformers, enhances the Makefile with publishing steps, and restructures scripts for better plugin execution management. Unit tests added: True Estimated effort to review (1-5, lower is better): 2 flyteorg/flytekit