MCPcopy Index your code
hub / github.com/pyload/pyload / store

Method store

module/plugins/internal/misc.py:91–96  ·  view source on GitHub ↗

Saves a value persistently to the database

(self, key, value)

Source from the content-addressed store, hash-verified

89 self.plugin = plugin
90
91 def store(self, key, value):
92 """
93 Saves a value persistently to the database
94 """
95 entry = json.dumps(value, ensure_ascii=False).encode('base64')
96 self.plugin.pyload.db.setStorage(self.plugin.classname, key, entry)
97
98 def retrieve(self, key=None, default=None):
99 """

Callers 8

signinMethod · 0.45
signinMethod · 0.45
signinMethod · 0.45
reloginMethod · 0.45
unloadMethod · 0.45
setMethod · 0.45
_decrypt_signatureMethod · 0.45
setMethod · 0.45

Calls 2

encodeMethod · 0.45
setStorageMethod · 0.45

Tested by

no test coverage detected