MCPcopy Index your code
hub / github.com/tinode/chat / load_quotes

Function load_quotes

chatbot/python/chatbot.py:334–339  ·  view source on GitHub ↗
(file_name)

Source from the content-addressed store, hash-verified

332 log("Failed to save authentication cookie", err)
333
334def load_quotes(file_name):
335 with open(file_name) as f:
336 for line in f:
337 quotes.append(line.strip())
338
339 return len(quotes)
340
341def run(args):
342 schema = None

Callers 1

runFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…