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

Method _get_filename_node

tables/link.py:391–395  ·  view source on GitHub ↗

Return the external filename and nodepath from `self.target`.

(self)

Source from the content-addressed store, hash-verified

389 super().__init__(parentnode, name, target, _log)
390
391 def _get_filename_node(self) -> tuple[str, str]:
392 """Return the external filename and nodepath from `self.target`."""
393 # This is needed for avoiding the 'C:\\file.h5' filepath notation
394 filename, target = self.target.split(":/")
395 return filename, "/" + target
396
397 def __call__(self, **kwargs) -> Node:
398 """Dereference self.target and return the object.

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected