own_arrays
own_arrays(
values: Mapping ,
)-> ‘dict’
Return parameters with every array in them made read-only.
A task is immutable and its fingerprint is cached on first use, so an array a caller kept writing to would leave the task reporting a fingerprint of values it no longer holds. Marking it read-only is what dascore does with a patch’s data, and costs no copy – which means the array marked is the caller’s own, not a copy of it.