feast.infra.utils.postgres package
Submodules
feast.infra.utils.postgres.connection_utils module
feast.infra.utils.postgres.postgres_config module
- class feast.infra.utils.postgres.postgres_config.ConnectionType(value)[source]
Bases:
Enum
An enumeration.
- pool = 'pool'
- singleton = 'singleton'
- class feast.infra.utils.postgres.postgres_config.PostgreSQLConfig(*, min_conn: int = 1, max_conn: int = 10, conn_type: ConnectionType = ConnectionType.singleton, host: StrictStr, port: int = 5432, database: StrictStr, db_schema: StrictStr = 'public', user: StrictStr, password: StrictStr, sslmode: StrictStr | None = None, sslkey_path: StrictStr | None = None, sslcert_path: StrictStr | None = None, sslrootcert_path: StrictStr | None = None, keepalives_idle: int = 0)[source]
Bases:
FeastConfigBaseModel
- conn_type: ConnectionType
- database: StrictStr
- db_schema: StrictStr
- host: StrictStr
- password: StrictStr
- user: StrictStr