Module

data.types

Database-related types and configuration.

Classes

DatabaseConfig 5
Database connection configuration. Parsed from a URL string or constructed directly.

Database connection configuration.

Parsed from a URL string or constructed directly.

Attributes

Name Type Description
url str
pool_size int
echo bool
connect_timeout float
connect_retries int
Notification 2
A notification received from PostgreSQL LISTEN/NOTIFY.

A notification received from PostgreSQL LISTEN/NOTIFY.

Attributes

Name Type Description
channel str

The notification channel name.

payload str

The notification payload string (may be empty).