enthought / enthought/envisage

Should TasksApplication provide a get_task method?

Open
#394 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: discussion
Dominant language
Python
Stars
89
Forks
27
Avg merge
14h 48m
Merged PRs (30d)
7

Description

It may be useful for the TasksApplication class to provide a get_task(self, task_id) method, which returns a task with the given ID if it is available. Currently there is only a _get_task_factory private method. If the task is not yet available, but there is a factory for it it could be created.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the TasksApplication class and inspect the existing _get_task_factory method and related task lifecycle code. Define get_task(self, task_id) so it returns an available task and can create one when a factory exists; verify the behavior against any existing TasksApplication tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.