settings
titiler.pgstac.settings ¶
API settings.
ApiSettings ¶
CacheSettings ¶
PgstacSettings ¶
PostgresSettings ¶
Bases: BaseSettings
Postgres-specific API settings.
Attributes:
-
postgres_user(Optional[str]) –postgres username.
-
postgres_pass(Optional[str]) –postgres password.
-
postgres_host(Optional[str]) –database hostname.
-
postgres_port(Optional[int]) –database port.
-
postgres_dbname(Optional[str]) –database name.
assemble_db_connection ¶
assemble_db_connection(v: Optional[str], info: ValidationInfo) -> Any
Validate database config.
_RetrySettings ¶
RetrySettings
cached
¶
RetrySettings() -> _RetrySettings
This function returns a cached instance of the RetrySettings object.