Implement ModelManagerClient.delete_job_by_model_name
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
Research direction
Start by locating ModelManagerClient and reading its existing read_job_collection and delete_job_by_id methods. Implement delete_job_by_model_name to find jobs whose modelName matches the supplied model name and delete each matching job by id; done means all matching jobs are removed.
Written by the indexing model from the issue text.
Description
To be able to re-use a model name, we need to delete both the Model resource and the Job ressource. If the Model resource has been deleted, it is not easy to find the job which is blocking the model name.
We should thus implement a delete_job_by_model_name method which does something like this:
all_jobs = model_manager.read_job_collection()
for job in all_jobs["jobs"]:
if job["modelName"] == model_name:
model_manager.delete_job_by_id(job["id"])
- Dominant language
- Jupyter Notebook
- Stars
- 20
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SAP/data-attribute-recommendation-python-sdk
-
Update Dependencies Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Ensure thread safety Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in SAP/data-attribute-recommendation-python-sdk
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100