Python client API reference#

rubin.repertoire Package#

Client, models, and URL construction for Repertoire.

Classes#

BaseRule(**data)

Base class for rules for deriving URLs.

DataServiceRule(**data)

Rule for a Phalanx service associated with a dataset.

Dataset(**data)

Discovery information about a single dataset.

DatasetConfig(**data)

Metadata for an available dataset.

Discovery(**data)

Service discovery information.

DiscoveryClient([http_client, base_url])

Client for Phalanx service and dataset discovery.

InternalServiceRule(**data)

Rule for an internal Phalanx service not associated with a dataset.

RepertoireBuilder(config)

Construct service discovery information from configuration.

RepertoireError

Base class for Repertoire client exceptions.

RepertoireSettings([_case_sensitive, ...])

Base configuration from which Repertoire constructs URLs.

RepertoireUrlError

Base URL for Repertoire was not set.

RepertoireValidationError

Discovery information does not pass schema validation.

RepertoireWebError(message, *[, method, ...])

Exception arising from an HTTP request failure.

ServiceUrls(**data)

Mappings of service names to base URLs.

UiServiceRule(**data)

Rule for a UI Phalanx service accessed via a web browser.

Class Inheritance Diagram#

Inheritance diagram of rubin.repertoire._config.BaseRule, rubin.repertoire._config.DataServiceRule, rubin.repertoire._models.Dataset, rubin.repertoire._config.DatasetConfig, rubin.repertoire._models.Discovery, rubin.repertoire._client.DiscoveryClient, rubin.repertoire._config.InternalServiceRule, rubin.repertoire._builder.RepertoireBuilder, rubin.repertoire._exceptions.RepertoireError, rubin.repertoire._config.RepertoireSettings, rubin.repertoire._exceptions.RepertoireUrlError, rubin.repertoire._exceptions.RepertoireValidationError, rubin.repertoire._exceptions.RepertoireWebError, rubin.repertoire._models.ServiceUrls, rubin.repertoire._config.UiServiceRule