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

Enhance task_status to handle job states correctly #1806

Merged

Conversation

bilalcodehub
Copy link
Contributor

Updated the task_status function in cvat.py to check the state of all jobs within a task. The function now returns "completed" if all jobs are finished or "in_progress" otherwise. This enhancement ensures the function is consistent with CVAT's API behavior.

Copy link
Collaborator

@SachidanandAlle SachidanandAlle left a comment

Choose a reason for hiding this comment

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

Looks good to me

@bilalcodehub
Copy link
Contributor Author

@SachidanandAlle: It seems merging is blocked, likely because I didn’t follow the required commit message format to include author details. What steps can I take at this point to resolve this and move this PR forward?

@SachidanandAlle SachidanandAlle merged commit b205e92 into Project-MONAI:main Jan 15, 2025
23 checks passed
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