# Compat shim — routes to render_order_line_task (the working implementation)
def dispatch_render(order_line_id: str) -> dict:
    """Queue render_order_line_task for the given order line."""
    from app.tasks.step_tasks import render_order_line_task
    render_order_line_task.delay(order_line_id)
    return {"backend": "celery", "queued": True}


__all__ = ["dispatch_render"]
