makeTransferChoiceField#
- lsst.obs.base.makeTransferChoiceField(doc: str = 'How to transfer files (None for no transfer).', default: str = 'auto') ChoiceField#
Create a Config field with options for transferring data between repos.
The allowed options for the field are exactly those supported by
lsst.daf.butler.Datastore.ingest.Parameters#
- doc
str Documentation for the configuration field.
- default
str, optional Default transfer mode for the field.
Returns#
- field
lsst.pex.config.ChoiceField Configuration field.
- doc