and now it takes a list of dicts (e.g., JSON objects) with each dict/object having a DRS URI and a specific destination for that DRS URI. This is great in that it has more expressive power/control, yet it also breaks backward compatibility and is harder to use for users for common use cases
Many Terra users don't have strong software skills, at least in Python (many are R language developers, and may be using TNU within R, etc.). Creating a list of dicts with specific fields simply to download a list of DRS URIs to a single, given destination seems too much to ask.
I expect it is both possible and easy to change the TNU DRS API for copy_batch to support both the previous simple format and the new manifest format. That is the desired resolution.
Until recently, the TNU DRS API copy_batch signature took a simple list of DRS URIs to copy to a given destination, as follows:
and now it takes a list of dicts (e.g., JSON objects) with each dict/object having a DRS URI and a specific destination for that DRS URI. This is great in that it has more expressive power/control, yet it also breaks backward compatibility and is harder to use for users for common use cases
Many Terra users don't have strong software skills, at least in Python (many are R language developers, and may be using TNU within R, etc.). Creating a list of dicts with specific fields simply to download a list of DRS URIs to a single, given destination seems too much to ask.
This was changed in TNU commit:
Use manifest for batch copy, introduce CLI arg #335.
I expect it is both possible and easy to change the TNU DRS API for
copy_batch
to support both the previous simple format and the new manifest format. That is the desired resolution.