MCPcopy
hub / github.com/tinode/chat / next_id

Function next_id

chatbot/python/chatbot.py:121–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 log("Server:", params['build'].decode('ascii'), params['ver'].decode('ascii'))
120
121def next_id():
122 next_id.tid += 1
123 return str(next_id.tid)
124next_id.tid = 100
125
126# Quotes from the fortune cookie file

Callers 5

helloFunction · 0.85
loginFunction · 0.85
subscribeFunction · 0.85
leaveFunction · 0.85
publishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…