feat: add deadline job download-input command#983
Draft
rickrams wants to merge 1 commit intoaws-deadline:mainlinefrom
Draft
feat: add deadline job download-input command#983rickrams wants to merge 1 commit intoaws-deadline:mainlinefrom
rickrams wants to merge 1 commit intoaws-deadline:mainlinefrom
Conversation
d7e7e23 to
67ff25a
Compare
leongdl
reviewed
Jan 30, 2026
leongdl
reviewed
Jan 30, 2026
leongdl
reviewed
Jan 30, 2026
leongdl
reviewed
Jan 30, 2026
adec40f to
8559088
Compare
Add a new CLI command to download job input attachments, mirroring the existing download-output command. - Add _InputDownloader class to job_attachments/download.py (private API) - Add download-input subcommand to deadline job CLI - Fix get_job_input_paths_by_asset_root to use add_root_and_manifest_folder_prefix (matching asset_sync.py behavior) - Fix test fixture inputManifestPath to match real API response format - Add unit tests for download-input command and _InputDownloader class - Handle cross-OS path prompts (same as download-output) Signed-off-by: rickrams <rickrams@users.noreply.github.com>
8559088 to
2e981ef
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Add a new CLI command to download job input attachments, mirroring the existing download-output command.
What was the problem/requirement? (What/Why)
Occasionally it's useful to get the input assets from job attachments for a previously submitted job.
What was the solution? (How)
Creates a new download-input command mirroring the download-output command.
What is the impact of this change?
How was this change tested?
See DEVELOPMENT.md for information on running tests.
downloadorasset_syncmodules? If so, then it is highly recommendedthat you ensure that the docker-based unit tests pass.
Was this change documented?
Does this PR introduce new dependencies?
This library is designed to be integrated into third-party applications that have bespoke and customized deployment environments. Adding dependencies will increase the chance of library version conflicts and incompatabilities. Please evaluate the addition of new dependencies. See the Dependencies section of DEVELOPMENT.md for more details.
Is this a breaking change?
A breaking change is one that modifies a public contract in a way that is not backwards compatible. See the
Public Contracts section
of the DEVELOPMENT.md for more information on the public contracts.
If so, then please describe the changes that users of this package must make to update their scripts, or Python applications.
Does this change impact security?
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.