Skip to content

settings

titiler.pgstac.settings

API settings.

ApiSettings

Bases: BaseSettings

API settings

parse_cors_origin

parse_cors_origin(v)

Parse CORS origins.

CacheSettings

Bases: BaseSettings

Cache settings

check_enable

check_enable()

Check if cache is disabled.

PgstacSettings

Bases: BaseSettings

Pgstac settings

PostgresSettings

Bases: BaseSettings

Postgres-specific API settings.

Attributes:

assemble_db_connection

assemble_db_connection(v: Optional[str], info: ValidationInfo) -> Any

Validate database config.

_RetrySettings

Bases: BaseSettings

Retry settings

RetrySettings cached

RetrySettings() -> _RetrySettings

This function returns a cached instance of the RetrySettings object.