(self)
| 86 | return chunks |
| 87 | |
| 88 | def _lower(self): |
| 89 | |
| 90 | if not self.balance and (self.chunks == self.array.chunks): |
| 91 | return self.array |
| 92 | |
| 93 | method = self.method or _choose_rechunk_method( |
| 94 | self.array.chunks, self.chunks, threshold=self.threshold |
| 95 | ) |
| 96 | if method == "p2p": |
| 97 | raise NotImplementedError |
| 98 | else: |
| 99 | return TasksRechunk( |
| 100 | self.array, self.chunks, self.threshold, self.block_size_limit |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | class TasksRechunk(Rechunk): |
nothing calls this directly
no test coverage detected