MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / get_item

Method get_item

botasaurus/local_storage.py:43–46  ·  view source on GitHub ↗
(self, key: str, default = None)

Source from the content-addressed store, hash-verified

41 json.dump(self.json_data, json_file, indent=4)
42
43 def get_item(self, key: str, default = None) -> str:
44 if key in self.json_data:
45 return self.json_data[key]
46 return default
47
48
49 def items(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected