Cached version of normalize_chunks. .. note:: chunks and previous_chunks are expected to be hashable. Dicts and lists aren't allowed for this function. See :func:`normalize_chunks` for further documentation.
(
chunks, shape=None, limit=None, dtype=None, previous_chunks=None
)
| 3034 | |
| 3035 | @functools.lru_cache |
| 3036 | def normalize_chunks_cached( |
| 3037 | chunks, shape=None, limit=None, dtype=None, previous_chunks=None |
| 3038 | ): |
| 3039 | """Cached version of normalize_chunks. |
| 3040 | |
| 3041 | .. note:: |
| 3042 | |
| 3043 | chunks and previous_chunks are expected to be hashable. Dicts and lists aren't |
| 3044 | allowed for this function. |
| 3045 | |
| 3046 | See :func:`normalize_chunks` for further documentation. |
| 3047 | """ |
| 3048 | return normalize_chunks( |
| 3049 | chunks, shape=shape, limit=limit, dtype=dtype, previous_chunks=previous_chunks |
| 3050 | ) |
| 3051 | |
| 3052 | |
| 3053 | def normalize_chunks(chunks, shape=None, limit=None, dtype=None, previous_chunks=None): |
nothing calls this directly
no test coverage detected