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

Endpoint for completed task #13

Open
dcgoss opened this issue Jul 5, 2017 · 0 comments
Open

Endpoint for completed task #13

dcgoss opened this issue Jul 5, 2017 · 0 comments
Assignees

Comments

@dcgoss
Copy link
Member

dcgoss commented Jul 5, 2017

When a task is completed by a worker, the worker needs an endpoint where it can tell task-service the task has been completed.

This endpoint should update the relevant Task object, specifically these attributes:

  • status = "complete"
  • completed_at = datetime.datetime.utcnow()
@dcgoss dcgoss self-assigned this Jul 5, 2017
dcgoss referenced this issue in dcgoss/task-service Jul 5, 2017
This endpoint is called by ml-worker when a task is completed and the
completed notebook has been uploaded to core-service. The endpoint
updates the status, completed_at, locked_at, and worker_id attributes
of the task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant