Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python
315 B
Raw Blame
from api.app import route


@route("GET", "/invoices")
def list_invoices(req):
    return []


@route("GET", "/invoices/<id>")
def get_invoice(req, id):
    return {}


@route("POST", "/invoices/<id>/pay")
def pay_invoice(req, id):
    return {}


@route("PUT", "/billing/plan")
def change_plan(req):
    return {}