MCPcopy
hub / github.com/JaidedAI/EasyOCR / get

Method get

trainer/craft/config/load_config.py:31–37  ·  view source on GitHub ↗
(self, k, default=None)

Source from the content-addressed store, hash-verified

29 return super().__getitem__(k)
30
31 def get(self, k, default=None):
32 if isinstance(k, str) and '.' in k:
33 try:
34 return self[k]
35 except KeyError:
36 return default
37 return super().get(k, default=default)

Callers 7

config.pyFile · 0.80
setLanguageListMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected