MCPcopy
hub / github.com/leslievan/semi-utils / get

Method get

processor/core.py:24–25  ·  view source on GitHub ↗
(self, key: str, default: Any = None)

Source from the content-addressed store, hash-verified

22 self._config = config
23
24 def get(self, key: str, default: Any = None) -> Any:
25 return self._config.get(key) if key in self._config and self._config.get(key) is not None else default
26
27 def get_exif(self) -> Dict[str, Any]:
28 return self.get('exif')

Callers 15

get_exifMethod · 0.95
getintMethod · 0.95
getenumMethod · 0.95
get_processor_nameMethod · 0.95
get_bufferMethod · 0.95
save_bufferMethod · 0.95
get_configFunction · 0.45
list_input_filesFunction · 0.45
get_fileFunction · 0.45
handle_processFunction · 0.45
generateFunction · 0.45
create_template_apiFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected