MCPcopy Index your code
hub / github.com/PDFMathTranslate/PDFMathTranslate / add_params

Method add_params

pdf2zh/cache.py:72–74  ·  view source on GitHub ↗
(self, k: str, v)

Source from the content-addressed store, hash-verified

70 self.replace_params(self.params)
71
72 def add_params(self, k: str, v):
73 self.params[k] = v
74 self.replace_params(self.params)
75
76 # Since peewee and the underlying sqlite are thread-safe,
77 # get and set operations don't need locks.

Callers 2

test_append_paramsMethod · 0.95

Calls 1

replace_paramsMethod · 0.95

Tested by 1

test_append_paramsMethod · 0.76