MCPcopy Create free account
hub / github.com/PyTables/PyTables / flush

Method flush

tables/nodes/filenode.py:151–158  ·  view source on GitHub ↗

Flush write buffers, if applicable. This is not implemented for read-only and non-blocking streams.

(self)

Source from the content-addressed store, hash-verified

149 self._node = None
150
151 def flush(self):
152 """Flush write buffers, if applicable.
153
154 This is not implemented for read-only and non-blocking streams.
155
156 """
157 self._check_closed()
158 self._node.flush()
159
160 # def truncate(self, pos: int = None) -> int:
161 def truncate(self, pos=None):

Callers 15

fill_tableFunction · 0.45
populateFileMethod · 0.45
test02_AppendRowsMethod · 0.45
_test02a_AppendRowsMethod · 0.45
test02d_AppendRowsMethod · 0.45
test02e_AppendRowsMethod · 0.45
test04d_deleteMethod · 0.45
populateFileMethod · 0.45
populateFileMethod · 0.45
test06bMethod · 0.45
test08Method · 0.45
test08bMethod · 0.45

Calls 1

_check_closedMethod · 0.95

Tested by 15

fill_tableFunction · 0.36
populateFileMethod · 0.36
test02_AppendRowsMethod · 0.36
_test02a_AppendRowsMethod · 0.36
test02d_AppendRowsMethod · 0.36
test02e_AppendRowsMethod · 0.36
test04d_deleteMethod · 0.36
populateFileMethod · 0.36
populateFileMethod · 0.36
test06bMethod · 0.36
test08Method · 0.36
test08bMethod · 0.36