(self, init_net, exit_net)
| 33 | self.cursor = None |
| 34 | |
| 35 | def setup_ex(self, init_net, exit_net): |
| 36 | if self.cursor is None: |
| 37 | self.cursor = init_net.CreateTreeCursor( |
| 38 | [], |
| 39 | init_net.NextScopedBlob(self.name), |
| 40 | fields=self.dataset.fields) |
| 41 | |
| 42 | def read(self, read_net): |
| 43 | assert self.cursor, 'setup not called.' |
no test coverage detected