Dataset#

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

Bases: BaseModel

Discovery information about a single dataset.

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