Skip to content

client_sync

relationalai.services.jobs

Synchronous Jobs service client.

Exposed via client.jobs on ClientSync.

This service is a unified abstraction over:

  • Jobs for reasoner_type in Predictive.
  • 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.transactions and API.CANCEL_(OWN_)TRANSACTION.
  • 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.

Classes exposed by this module.