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

Function hello

chatbot/python/chatbot.py:178–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 pass
177
178def hello():
179 tid = next_id()
180 add_future(tid, {
181 'onsuccess': lambda unused, params: server_version(params),
182 })
183 return pb.ClientMsg(hi=pb.ClientHi(id=tid, user_agent=APP_NAME + "/" + APP_VERSION + " (" +
184 platform.system() + "/" + platform.release() + "); gRPC-python/" + LIB_VERSION,
185 ver=LIB_VERSION, lang="EN"))
186
187def login(cookie_file_name, scheme, secret):
188 tid = next_id()

Callers 1

init_clientFunction · 0.85

Calls 3

next_idFunction · 0.85
add_futureFunction · 0.85
server_versionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…