ApiService#

class rubin.repertoire.ApiService(**data)#

Bases: BaseService

Base model for services with an API.

Parameters:

data (Any)

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

to_nublado_dict()

Convert to the reduced format used inside Nublado containers.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

to_nublado_dict()#

Convert to the reduced format used inside Nublado containers.

Returns:

Restricted subset of dataset discovery, suitable for JSON encoding.

Return type:

dict of dict