Recursively iterate over the nodes in the tree. This is equivalent to calling :meth:`File.walk_nodes` with no arguments. Examples -------- :: # Recursively list all the nodes in the object tree. h5file = tables.open_file('vlarray1.h5
(self)
| 2243 | return True |
| 2244 | |
| 2245 | def __iter__(self) -> Generator[Node]: |
| 2246 | """Recursively iterate over the nodes in the tree. |
| 2247 | |
| 2248 | This is equivalent to calling :meth:`File.walk_nodes` with no |
| 2249 | arguments. |
| 2250 | |
| 2251 | Examples |
| 2252 | -------- |
| 2253 | :: |
| 2254 | |
| 2255 | # Recursively list all the nodes in the object tree. |
| 2256 | h5file = tables.open_file('vlarray1.h5') |
| 2257 | print("All nodes in the object tree:") |
| 2258 | for node in h5file: |
| 2259 | print(node) |
| 2260 | |
| 2261 | """ |
| 2262 | return self.walk_nodes("/") |
| 2263 | |
| 2264 | def walk_nodes( |
| 2265 | self, where: Group | str = "/", classname: str | None = None |
nothing calls this directly
no test coverage detected