MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / store

Method store

plugins/utils.py:23–27  ·  view source on GitHub ↗
(self, From, to,  skip, limit)

Source from the content-addressed store, hash-verified

21 return self.data.get(self.id)
22
23 def store(self, From, to, skip, limit):
24 self.data[self.id] = {"FROM": From, 'TO': to, 'total_files': 0, 'skip': skip, 'limit': limit,
25 'fetched': skip, 'filtered': 0, 'deleted': 0, 'duplicate': 0, 'total': limit, 'start': 0}
26 self.get(full=True)
27 return STS(self.id)
28
29 def get(self, value=None, full=False):
30 values = self.data.get(self.id)

Callers 2

store_varsFunction · 0.80
runFunction · 0.80

Calls 2

getMethod · 0.95
STSClass · 0.85

Tested by

no test coverage detected