MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / query

Function query

tests/integration/test_licensing.py:356–361  ·  view source on GitHub ↗
(idx)

Source from the content-addressed store, hash-verified

354 errors = {}
355
356 def query(idx):
357 try:
358 with SerialStudioClient() as c:
359 results[idx] = c.command("licensing.getStatus")
360 except Exception as e:
361 errors[idx] = str(e)
362
363 threads = [threading.Thread(target=query, args=(i,)) for i in range(8)]
364 for t in threads:

Callers

nothing calls this directly

Calls 2

SerialStudioClientClass · 0.90
commandMethod · 0.80

Tested by

no test coverage detected