Skip to main content

prefect_dbt.cli.configs.postgres

Module containing models for Postgres configs

Classes

PostgresTargetConfigs

Target configs contain credentials and settings, specific to Postgres. To find valid keys, head to the Postgres Profile page. Attributes:
  • credentials: The credentials to use to authenticate; if there are duplicate keys between credentials and TargetConfigs, e.g. schema, an error will be raised.
Methods:

get_configs

get_configs(self) -> Dict[str, Any]
Returns the dbt configs specific to Postgres profile. Returns:
  • A configs JSON.

handle_target_configs

handle_target_configs(cls, v: Any) -> Any
Handle target configs field aliasing during validation