httk.optimade.model.config

Classes

OptimadeConfig

Configuration of a served OPTIMADE database.

Module Contents

class httk.optimade.model.config.OptimadeConfig[source]

Configuration of a served OPTIMADE database.

implementation extends/overrides the fields of the meta -> implementation dictionary (e.g. issue_tracker, source_url, maintainer). database, schema_url, and request_delay populate the corresponding optional meta fields (OPTIMADE v1.2+) when set. license, available_licenses, and available_licenses_for_entries populate the corresponding optional base-info attributes when set. data_available is filled in by process_init with the number of available entries per entry endpoint.

provider: dict[str, Any][source]
implementation: dict[str, Any][source]
database: dict[str, Any] | None = None[source]
schema_url: str | None = None[source]
request_delay: float | None = None[source]
license: dict[str, Any] | str | None = None[source]
available_licenses: list[str] | None = None[source]
available_licenses_for_entries: list[str] | None = None[source]
data_available: dict[str, int][source]
partial_data_chunk_size: int = 1000[source]