(d: Mapping[K, V])
| 66 | |
| 67 | |
| 68 | def _decode_attrs(d: Mapping[K, V]) -> dict[K, V]: |
| 69 | # don't decode _FillValue from bytes -> unicode, because we want to ensure |
| 70 | # that its type matches the data exactly |
| 71 | return {k: v if k == "_FillValue" else _decode_string(v) for (k, v) in d.items()} |
| 72 | |
| 73 | |
| 74 | class ScipyArrayWrapper(BackendArray): |
no test coverage detected
searching dependent graphs…