client
relationalai.services.jobs
Async Jobs service client.
Exposed via client.jobs on the async-first root Client.
This service is a unified abstraction over two backend concepts:
- Jobs for
reasoner_typein Predictive (SQL or Direct Access). - Transactions for
reasoner_type == Logic(exposed as “jobs” to the user).
Backend capability notes (by design):
- Logic list/cancel: implemented via SQL against
{app}.api.transactionsandAPI.CANCEL_(OWN_)TRANSACTION(even when the configured backend is Direct Access). - Logic create: prefers Direct Access when available; falls back to SQL (
{app}.api.exec_async_v2). - Logic get/events: prefer Direct Access when available, fall back to SQL.