DatastoreConfig

class lsst.daf.butler.datastore.DatastoreConfig(other: Config | str | ParseResult | ResourcePath | Path | Mapping[str, Any] | None = None, validate: bool = True, mergeDefaults: bool = True, searchPaths: Sequence[str | ParseResult | ResourcePath | Path] | None = None)

Bases: ConfigSubset

Configuration for Datastores.

Attributes Summary

component

Component to use from supplied config.

defaultConfigFile

Name of the file containing defaults for this config class.

requiredKeys

Keys that are required to be specified in the configuration.

Attributes Documentation

component: ClassVar[str | None] = 'datastore'

Component to use from supplied config. Can be None. If specified the key is not required. Can be a full dot-separated path to a component.

defaultConfigFile: ClassVar[str | None] = 'datastore.yaml'

Name of the file containing defaults for this config class.

requiredKeys: ClassVar[Sequence[str]] = ('cls',)

Keys that are required to be specified in the configuration.