Client
relationalai.client.client
Client(core: ClientCore)Async-first root client.
Use this client when you are already writing async code:
- construct via
await relationalai.client.connect(...)orawait from_session(...) - close via
await client.aclose()orasync with ...
Key differences vs ClientSync:
.reasonersreturns an asyncReasonersClient(methods areasync def, so youawait)
Logging/representation:
- sensitive fields (config, auth tokens, sessions/transports) are excluded from
repr(...)
Methods
Section titled “Methods”.aclose()
Section titled “.aclose()”Client.aclose() -> NoneClose the client (best-effort).
Returns:
None- Always returnsNone.
.get_reasoners()
Section titled “.get_reasoners()”Client.get_reasoners() -> "ReasonersClient"Return the reasoners service client.
This is the method form of Client.reasoners, provided so reference docs can
render an explicit API entry.
Returns:
ReasonersClient- A cached async-first reasoners client.
.get_jobs()
Section titled “.get_jobs()”Client.get_jobs() -> "JobsClient"Return the jobs service client.
This is the method form of Client.jobs, provided so reference docs can
render an explicit API entry.
Returns:
JobsClient- A cached async-first jobs client.
Returned By
Section titled “Returned By”client ├── connect └── from_session