Please look at the following snippet: https://github.com/viewflow/viewflow/blob/fa48ec8b129171bceaa25c3ef4a7e6385c30ff6f/viewflow/activation.py#L364
- I don't understand why
ViewActivation.prepare
does not invokeself.task.save()
afterself.task.started = now()
. - It seems that
self.task.save()
is invoked in other activations afterself.task.started
is set.
Is this a feature or a bug?
Background: I am currently building an analytics tool on top of viewflow for understanding the output performance of my team. I am trying to find out how long my users are spending per task by calculating task.finished - task.started
.