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
Section titled “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
Section titled “Classes”Classes exposed by this module.
Client Async-first root client. Re-exported from
relationalai.client.client. ClientSync Synchronous root client. Re-exported from
relationalai.client.client_sync. JobsClient Async-first jobs client. Re-exported from
relationalai.services.jobs.client. JobsClientSync Synchronous jobs client (public API for
connect_sync()). Re-exported from relationalai.services.jobs.client_sync. ReasonersClient Async-first reasoners client. Re-exported from
relationalai.services.reasoners.client. ReasonersClientSync Synchronous reasoners client (public API for
connect_sync()). Re-exported from relationalai.services.reasoners.client_sync. Modules and Subpackages
Section titled “Modules and Subpackages”Submodules and subpackages available under this namespace.
client Async-first root client.
client_sync Synchronous root client.