You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1.x] Package input files (no autodownload, no multiprocessing DownloadManager) (#510) (#512)
* Package input files (no autodownload, no multiprocessing DownloadManager) (#510)
* package input files and folders (backend)
* package input files and folders (frontend)
* remove "input_dir" from staging_paths dict
* ensure execution context matches the notebook directory
* update snapshots
* copy staging folder to output folder after job runs (SUCESS or FAILURE)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* copy staging folder and side effects to output after job runs, track and redownload files
* remove staging to output copying logic from executor
* refactor output files creation logic into a separate function for clarity
* Fix job definition data model
* add packaged_files to JobDefinition and DescribeJobDefinition model
* fix existing pytests
* clarify FilesDirectoryLink title
* Dynamically display input folder in the checkbox text
* display packageInputFolder parameter as 'Files included'
* use helper text with input directory for 'include files' checkbox
* Update Playwright Snapshots
* add test side effects accountability test for execution manager
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Use "Run job with input folder" for packageInputFolder checkbox text
* Update Playwright Snapshots
* Use "Ran with input folder" in detail page
* Update src/components/input-folder-checkbox.tsx
Co-authored-by: Jason Weill <[email protected]>
* fix lint error
* Update Playwright Snapshots
* Update existing screenshots
* Update "Submit the Create Job" section mentioning “Run job with input folder” option
* Update docs/users/index.md
Co-authored-by: Jason Weill <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/components/input-folder-checkbox.tsx
Co-authored-by: Jason Weill <[email protected]>
* Update Playwright Snapshots
* Describe side effects behavior better
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jason Weill <[email protected]>
* Update Playwright snapshots
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jason Weill <[email protected]>
Copy file name to clipboardExpand all lines: docs/users/index.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,10 @@ To create a _job_ or _job definition_ from an open notebook, click on a “Creat
44
44
45
45
Give your notebook job or job definition a name, choose an environment to run it in, select its output formats, and provide parameters that are set as local variables when your notebook gets executed. This parameterized execution is similar to the one used in [Papermill](https://papermill.readthedocs.io/en/latest/).
46
46
47
+
If you check "Run job with input folder", the scheduled job will have access to all files within the same folder as the input file.
48
+
The scheduler will copy all files from the input file to a staging directory at runtime, and will make these files and any side effect files created during the job run available for download after the job has finished.
49
+
Use caution with this option if your input file's directory has many large files in it.
50
+
47
51
To create a _job_ that runs once, select "Run now" in the "Schedule" section, and click "Create".
"""Copies the input file along with the input directory to the staging directory, returns the list of copied files relative to the staging directory"""
0 commit comments