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

Method get

tables/utils.py:425–429  ·  view source on GitHub ↗

Return the value for the specified key.

(self, key: Any, default: Any | None = None)

Source from the content-addressed store, hash-verified

423 return self._cache[key]
424
425 def get(self, key: Any, default: Any | None = None) -> Any:
426 """Return the value for the specified key."""
427 if self._nailcount > 0:
428 return default
429 return self._cache.get(key, default)
430
431 def __setitem__(self, key: Any, value: Any) -> None:
432 if self._nailcount > 0:

Callers 15

setup.pyFile · 0.45
add_from_pathFunction · 0.45
add_from_flagsFunction · 0.45
parameters.pyFile · 0.45
__init__Method · 0.45
_g_post_init_hookMethod · 0.45
_calc_chunkshapeMethod · 0.45
__call__Method · 0.45
set_policy_from_envMethod · 0.45
__init__Method · 0.45
_compile_conditionMethod · 0.45

Calls

no outgoing calls

Tested by 4

fill_tableFunction · 0.36
testMethod · 0.36
test_multiprocessMethod · 0.36
updateMethod · 0.36