Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow non-expanded datasetRefs in Butler.transfer_from.
Previously, transfer_from did not impose requirements on dataset refs, but set a flag on _importDatasets that (per its docs) should only have been set if the caller could guarantee expanded datasetRefs. This commit keeps the open-ended precondition on transfer_from, and allows internal expansion instead. This should be a no-op if the input datasetRefs are already expanded. The expand flag is left at its default instead of being explicitly set to True to give _importDatasets ultimate control over expansion (e.g., in case it no longer requires expanded IDs in the future).
- Loading branch information