chore: fix spatialdata access in squidpy via a helper function
chore: fix spatialdata access in squidpy via a helper function: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: chore: fix spatialdata access in squidpy via a helper function
The task
**Title:** chore: fix spatialdata access in squidpy via a helper function
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.