You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Progress.tasks method (property) returns a list of tasks. This makes querying a task with their task_id a bit cumbersome. Consider the scenario when some tasks are removed which causes mismatch between task_id and list indexes. Since the task_id of each task is unique why not return a dict in the format {task_id: <task_object>, ...} instead. That would be much more convenient and intuitive. Consider the following snippet:
Currently
Progress.tasks
method (property) returns alist
of tasks. This makes querying a task with theirtask_id
a bit cumbersome. Consider the scenario when some tasks are removed which causes mismatch betweentask_id
andlist
indexes. Since thetask_id
of each task is unique why not return adict
in the format{task_id: <task_object>, ...}
instead. That would be much more convenient and intuitive. Consider the following snippet:The text was updated successfully, but these errors were encountered: