makeTransferChoiceField

lsst.obs.base.makeTransferChoiceField(doc='How to transfer files (None for no transfer).', default=None)

Create a Config field with options for how to transfer files between data repositories.

The allowed options for the field are exactly those supported by lsst.daf.butler.Datastore.ingest.

Parameters
docstr

Documentation for the configuration field.

Returns
fieldlsst.pex.config.ChoiceField

Configuration field.