Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated job definition models, handlers, and scheduler apis #45

Merged
merged 5 commits into from
Oct 5, 2022

Conversation

3coins
Copy link
Collaborator

@3coins 3coins commented Sep 26, 2022

  • Updated models to support job definition
  • Added scheduler apis for job definitions
  • Added handlers for job definition REST apis

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch 3coins/jupyter-scheduler/job-definition-models

@3coins 3coins marked this pull request as ready for review September 26, 2022 17:25
@3coins
Copy link
Collaborator Author

3coins commented Sep 28, 2022

Rebased from main, added async apis support.

@3coins 3coins added the enhancement New feature or request label Sep 29, 2022
@dlqqq dlqqq self-requested a review September 29, 2022 18:11
@JasonWeill
Copy link
Collaborator

Out of curiosity, what is the set of possible values for timezone? Are we using UNIX time zone definitions like America/Los_Angeles, for example?

@3coins
Copy link
Collaborator Author

3coins commented Oct 1, 2022

Out of curiosity, what is the set of possible values for timezone? Are we using UNIX time zone definitions like America/Los_Angeles, for example?

Correct.

jupyter_scheduler/scheduler.py Show resolved Hide resolved
jupyter_scheduler/models.py Outdated Show resolved Hide resolved
jupyter_scheduler/scheduler.py Outdated Show resolved Hide resolved
jupyter_scheduler/scheduler.py Outdated Show resolved Hide resolved
jupyter_scheduler/scheduler.py Show resolved Hide resolved
jupyter_scheduler/orm.py Outdated Show resolved Hide resolved
Copy link
Contributor

@ellisonbg ellisonbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks good, left some inline comments.

jupyter_scheduler/models.py Outdated Show resolved Hide resolved
jupyter_scheduler/models.py Outdated Show resolved Hide resolved
jupyter_scheduler/models.py Show resolved Hide resolved
jupyter_scheduler/orm.py Outdated Show resolved Hide resolved
jupyter_scheduler/scheduler.py Show resolved Hide resolved
jupyter_scheduler/scheduler.py Outdated Show resolved Hide resolved
@dlqqq

This comment was marked as resolved.

@ellisonbg

This comment was marked as resolved.

@3coins

This comment was marked as resolved.

@dlqqq

This comment was marked as resolved.

@dlqqq

This comment was marked as resolved.

@3coins 3coins force-pushed the job-definition-models branch 2 times, most recently from 5a5ae3e to 1653912 Compare October 5, 2022 00:55
@3coins
Copy link
Collaborator Author

3coins commented Oct 5, 2022

Made all updates as per feedback. Merging the changes.

@3coins 3coins merged commit 802a83a into jupyter-server:main Oct 5, 2022
@3coins 3coins deleted the job-definition-models branch October 5, 2022 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants