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

Method is_dangling

tables/link.py:328–330  ·  view source on GitHub ↗

Return True if the link is dangling.

(self)

Source from the content-addressed store, hash-verified

326 self.dereference().__setitem__(key, value)
327
328 def is_dangling(self) -> bool:
329 """Return True if the link is dangling."""
330 return not (self.dereference() in self._v_file)
331
332 def __str__(self) -> str:
333 """Return a short string representation of the link.

Callers 4

__getattribute__Method · 0.95
__setattr__Method · 0.95
__getitem__Method · 0.95
__setitem__Method · 0.95

Calls 1

dereferenceMethod · 0.95

Tested by

no test coverage detected