MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / add_worker

Function add_worker

examples/quart/main.py:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32@app.route("/worker")
33async def add_worker():
34 worker = await Workers.create(status=choice(STATUSES)) # nosec
35 return str(worker)
36
37
38register_tortoise(

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…