MCPcopy Create free account
hub / github.com/apple/ml-pointersect / get

Method get

cdslib/core/utils/argparse_utils.py:176–180  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

174 super().__init__(*args, **kwargs)
175
176 def get(self, key, default=None):
177 if key not in self:
178 warnings.warn(f"access {key} not in dict, use {default}")
179
180 return super().get(key, default)
181
182 def __getattr__(self, name: str) -> T.Any:
183 try:

Callers 15

print_optionsFunction · 0.80
_create_loggerMethod · 0.80
init_distributedFunction · 0.80
__init__Method · 0.80
runMethod · 0.80
loadMethod · 0.80
chunked_memmap.pyFile · 0.80
add_all_samplesMethod · 0.80
batch_preparer.pyFile · 0.80
bucket_sampler.pyFile · 0.80
set_dataset_lengthsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected