ListDelegate

class lsst.daf.butler.tests.ListDelegate(storageClass: StorageClass)

Bases: StorageClassDelegate

Parameter handler for list parameters.

Methods Summary

handleParameters(inMemoryDataset[, parameters])

Modify the in-memory dataset using the supplied parameters, returning a possibly new object.

Methods Documentation

handleParameters(inMemoryDataset: Any, parameters: Mapping[str, Any] | None = None) Any

Modify the in-memory dataset using the supplied parameters, returning a possibly new object.

Parameters:
inMemoryDatasetobject

Object to modify based on the parameters.

parametersdict

Parameters to apply. Values are specific to the parameter. Supported parameters are defined in the associated StorageClass. If no relevant parameters are specified the inMemoryDataset will be return unchanged.

Returns:
inMemoryDatasetobject

Updated form of supplied in-memory dataset, after parameters have been used.