client
relationalai
Root client entrypoints.
This package exposes the primary connection entrypoints for PyRel:
connect/Clientfor async-first usageconnect_sync/ClientSyncfor sync usagefrom_session/from_session_syncfor constructing clients from an existing Snowpark/DBAPI-like session
Service APIs are exposed off the root clients:
The root clients lazily create transports (SQL/HTTP) on first use.
Functions
Functions exposed by this module.
connect()Async-first entrypoint returning a
Client.connect_sync()Synchronous entrypoint returning a
ClientSync.from_session()Construct an async
Client from an existing session.from_session_sync()Construct a sync
ClientSync from an existing Snowpark session.Classes
Classes exposed by this module.
ClientAsync-first root client. Re-exported from
relationalai.client.client.ClientSyncSynchronous root client. Re-exported from
relationalai.client.client_sync.JobsClientAsync-first jobs client. Re-exported from
relationalai.services.jobs.client.JobsClientSyncSynchronous jobs client (public API for
connect_sync()). Re-exported from relationalai.services.jobs.client_sync.ReasonersClientAsync-first reasoners client. Re-exported from
relationalai.services.reasoners.client.ReasonersClientSyncSynchronous reasoners client (public API for
connect_sync()). Re-exported from relationalai.services.reasoners.client_sync.Modules and Subpackages
Submodules and subpackages available under this namespace.
clientAsync-first root client.
client_syncSynchronous root client.
errorsClient error types and error-mapping helpers.