jupyter-scheduler icon indicating copy to clipboard operation
jupyter-scheduler copied to clipboard

Validate file type used when editing job definition

Open JasonWeill opened this issue 3 years ago • 0 comments

Problem

Found while testing #285 locally.

Create a job definition based on a notebook (.ipynb) file. Edit the job definition. Drag a Python (.py) file onto the input file drop target. Save the job definition.

The job definition gets updated, but jobs are not being created.

Proposed Solution

Allow an environment to declare which file types it can run. When editing a job definition, only accept files that the environment declares that it can run.

JasonWeill avatar Nov 17 '22 21:11 JasonWeill