DynamicConnectionConfig#

class lsst.pipe.base.tests.mocks.DynamicConnectionConfig(*args, **kw)#

Bases: Config

A config class that defines a completely dynamic connection.

Attributes Summary

dataset_type_name

Name for the dataset type as seen by the butler.

dimensions

Dimensions for the dataset type.

is_calibration

Whether this dataset type is a calibration.

minimum

Minimum number of datasets per quantum required for this connection.

mock_storage_class

Whether the storage class should actually be a mock of the storage class given.

multiple

Whether this connection gets or puts multiple datasets for each quantum.

storage_class

Name of the butler storage class for the dataset type.

Methods Summary

Attributes Documentation

dataset_type_name#

Name for the dataset type as seen by the butler. (str)

dimensions#

Dimensions for the dataset type. (List, default [])

is_calibration#

Whether this dataset type is a calibration. (bool, default False)

minimum#

Minimum number of datasets per quantum required for this connection. Ignored for non-inputs. (int, default 1)

mock_storage_class#

Whether the storage class should actually be a mock of the storage class given. (bool, default True)

multiple#

Whether this connection gets or puts multiple datasets for each quantum. (bool, default False)

storage_class#

Name of the butler storage class for the dataset type. (str, default 'StructuredDataDict')

Methods Documentation

make_connection(cls: type[_T]) _T#