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

feature/jobmon_resources #118

Merged
merged 5 commits into from
Dec 12, 2024
Merged

feature/jobmon_resources #118

merged 5 commits into from
Dec 12, 2024

Conversation

kels271828
Copy link
Member

Allow user to pass a dictionary of compute resources or a path to a resources file (any format that can be loaded by ConfigLoader) to evaluate_with_jobmon and pipeline/stage evaluate methods. Previously only paths to yaml files were valid.

Copy link
Member

@zhengp0 zhengp0 left a comment

Choose a reason for hiding this comment

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

Thanks @kels271828! This looks good to me!

@@ -34,7 +34,6 @@
from pathlib import Path
from typing import Literal

import yaml
Copy link
Member

Choose a reason for hiding this comment

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

Highly recommend ruff pre-commit
https://github.com/astral-sh/ruff-pre-commit
it will automatically detect the unused import and fix it :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I had formatting on save but it wasn't working today for some reason. I had to update a vscode extension and now it is working again :)

@kels271828 kels271828 merged commit 03b924b into release/1.0 Dec 12, 2024
6 of 9 checks passed
@kels271828 kels271828 deleted the feature/jobmon_resources branch December 12, 2024 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants