Source code for feast.infra.utils.postgres.postgres_config

from typing import Optional

from pydantic import StrictStr

from feast.repo_config import FeastConfigBaseModel


[docs]class PostgreSQLConfig(FeastConfigBaseModel): host: StrictStr port: int = 5432 database: StrictStr db_schema: StrictStr = "public" user: StrictStr password: StrictStr sslmode: Optional[StrictStr] = None sslkey_path: Optional[StrictStr] = None sslcert_path: Optional[StrictStr] = None sslrootcert_path: Optional[StrictStr] = None