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

Method set_item

botasaurus/botasaurus_storage.py:59–61  ·  view source on GitHub ↗
(self, key: str, value: any)

Source from the content-addressed store, hash-verified

57 return self.json_data
58
59 def set_item(self, key: str, value: any) -> None:
60 self.json_data[key] = value
61 self.commit_to_disk()
62
63 def remove_item(self, key: str) -> None:
64 if key in self.json_data:

Callers

nothing calls this directly

Calls 1

commit_to_diskMethod · 0.95

Tested by

no test coverage detected