Flush all the alive leaves in the object tree.
(self)
| 2876 | return (parent, name) |
| 2877 | |
| 2878 | def flush(self) -> None: |
| 2879 | """Flush all the alive leaves in the object tree.""" |
| 2880 | self._check_open() |
| 2881 | |
| 2882 | # Flush the cache to disk |
| 2883 | self._node_manager.flush_nodes() |
| 2884 | self._flush_file(0) # 0 means local scope, 1 global (virtual) scope |
| 2885 | |
| 2886 | def close(self) -> None: |
| 2887 | """Flush all the alive leaves in object tree and close the file.""" |
no test coverage detected