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

Method get_item

botasaurus/botasaurus_storage.py:50–53  ·  view source on GitHub ↗
(self, key: str, default = None)

Source from the content-addressed store, hash-verified

48 json.dump(self.json_data, json_file, indent=4)
49
50 def get_item(self, key: str, default = None) -> str:
51 if key in self.json_data:
52 return self.json_data[key]
53 return default
54
55
56 def items(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected