-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joel Collins
committed
Jul 9, 2020
1 parent
53ea2bf
commit d67b5b0
Showing
10 changed files
with
84 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,19 @@ | ||
__all__ = [ | ||
"Pool", | ||
"taskify", | ||
"tasks", | ||
"to_dict", | ||
"states", | ||
"current_task", | ||
"update_task_progress", | ||
"cleanup", | ||
"discard_id", | ||
"update_task_data", | ||
"default_pool", | ||
"change_default_pool", | ||
"TaskKillException", | ||
"ThreadTerminationError", | ||
] | ||
|
||
from .pool import ( | ||
Pool, | ||
tasks, | ||
to_dict, | ||
states, | ||
current_task, | ||
update_task_progress, | ||
cleanup, | ||
discard_id, | ||
update_task_data, | ||
taskify, | ||
default_pool, | ||
change_default_pool, | ||
) | ||
from .thread import ThreadTerminationError | ||
from .thread import TaskKillException | ||
|
||
# Legacy alias | ||
ThreadTerminationError = TaskKillException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.