(self)
| 254 | self.dirty_shards.add(self._shard_index(name)) |
| 255 | |
| 256 | def commit(self) -> None: |
| 257 | for i in self.dirty_shards: |
| 258 | self.dbs[i].commit() |
| 259 | self.dirty_shards.clear() |
| 260 | |
| 261 | def commit_path(self, name: str) -> None: |
| 262 | i = self._shard_index(name) |