InitInputDatasetField¶
-
lsst.pipe.base.InitInputDatasetField(*, doc, storageClass, check=None, name='', nameTemplate='')¶ Factory function to create
Configclass instances ofInitInputDatasetConfigThis function servers as syntactic sugar for creating
ConfigFieldwhich areInitInputDatasetConfig. The naming of this function violates the normal convention of a lowercase first letter in the function name, as this function is intended to sit in the same place asConfigFieldclasses, and consistency in declaration syntax is important.The input arguments for this class are a combination of the arguments for
ConfigFieldandInitInputDatasetConfig. The arguments doc and check come fromConfigField, while name and storageClass come fromInitInputDatasetConfig.Parameters: - doc :
str Documentation string for the
InitInputDatasetConfig- name :
str Name of the
DatasetTypein the returnedInitInputDatasetConfig- storageClass :
str Name of the
StorageClassin theInitInputDatasetConfig- check : callable
A callable to be called with the field value that returns False if the value is invalid.
Returns: - result :
ConfigField Instance of a
ConfigFieldwithInputDatasetConfigas a dtype
- doc :