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()
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: