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

Method drop_from_cache

tables/file.py:466–469  ·  view source on GitHub ↗

Remove the node from cache.

(self, nodepath: str)

Source from the content-addressed store, hash-verified

464 cache[newkey] = node
465
466 def drop_from_cache(self, nodepath: str) -> None:
467 """Remove the node from cache."""
468 # Remove the node from the cache.
469 self.cache.pop(nodepath, None)
470
471 def drop_node(self, node: Node, check_unregistered: bool = True) -> None:
472 """Drop the `node`.

Callers 2

drop_nodeMethod · 0.95
_g_del_locationMethod · 0.80

Calls 1

popMethod · 0.80

Tested by

no test coverage detected