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

Method set_item

botasaurus/local_storage.py:52–54  ·  view source on GitHub ↗
(self, key: str, value: any)

Source from the content-addressed store, hash-verified

50 return self.json_data
51
52 def set_item(self, key: str, value: any) -> None:
53 self.json_data[key] = value
54 self.commit_to_disk()
55
56 def remove_item(self, key: str) -> None:
57 if key in self.json_data:

Callers

nothing calls this directly

Calls 1

commit_to_diskMethod · 0.95

Tested by

no test coverage detected