| 12 | |
| 13 | |
| 14 | class PostgreSQLConfig(FeastConfigBaseModel): |
| 15 | min_conn: int = 1 |
| 16 | max_conn: int = 10 |
| 17 | conn_type: ConnectionType = ConnectionType.singleton |
| 18 | host: StrictStr |
| 19 | port: int = 5432 |
| 20 | database: StrictStr |
| 21 | db_schema: StrictStr = "public" |
| 22 | user: StrictStr |
| 23 | password: StrictStr |
| 24 | sslmode: Optional[StrictStr] = "require" |
| 25 | sslkey_path: Optional[StrictStr] = None |
| 26 | sslcert_path: Optional[StrictStr] = None |
| 27 | sslrootcert_path: Optional[StrictStr] = None |
| 28 | keepalives_idle: Optional[int] = None |