Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_auto_chunks(shape, dtype):
# A hack to get chunks guessed by zarr
arr = zarr.create(shape, dtype=dtype)
return arr.chunks