Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetAngels/celery-tasktree
/ functions
Functions
26 in github.com/NetAngels/celery-tasktree
⨍
Functions
26
◇
Types & classes
4
↓ 11 callers
Method
add_task
(self, func, args=None, kwargs=None)
celery_tasktree.py:13
↓ 4 callers
Method
apply_async
(self)
celery_tasktree.py:34
↓ 4 callers
Method
pop
(self)
celery_tasktree.py:27
↓ 4 callers
Method
push
(self, func, args=None, kwargs=None)
celery_tasktree.py:23
↓ 3 callers
Method
apply_and_join
Execute tasks asynchronously and wait for the latest result. Method can be useful in conjunction with pop()/push() methods. In such
celery_tasktree.py:52
↓ 1 callers
Function
_exec_callbacks
Exec the callback or list of callbacks. Return asyncronous results as the TaskSetResult object.
celery_tasktree.py:151
↓ 1 callers
Method
_get_child_tasks
(self)
celery_tasktree.py:100
↓ 1 callers
Function
join_tree
Join to all async results in the tree
celery_tasktree.py:62
↓ 1 callers
Function
read
(fname)
setup.py:5
↓ 1 callers
Function
run_with_callbacks
Decorator "run with callbacks" Function is useful as decorator for :meth:`run` method of tasks which are subclasses of generic :class:`celery
celery_tasktree.py:131
↓ 1 callers
Function
setup
()
tests.py:19
Method
__bool__
(self)
test_tasks.py:29
Method
__init__
(self)
celery_tasktree.py:9
Method
__init__
(self, func, args=None, kwargs=None)
celery_tasktree.py:79
Method
__init__
(self, created)
test_tasks.py:27
Method
__str__
(self)
test_tasks.py:31
Method
add_task
(self, func, args=None, kwargs=None)
celery_tasktree.py:90
Function
mkdir
Create directory. We return CreateDirectoryResult object intentionally, so that task_with_callbacks decorator can add async_result attribute
test_tasks.py:8
Method
run
(self, directory)
test_tasks.py:21
Function
task_with_callbacks
decorator "task with callbacks" Callback or list of callbacks which go to function in "callbacks" kwarg, will be executed after the function
celery_tasktree.py:117
Function
test_empty_task_tree
()
tests.py:107
Function
test_push_and_pop
()
tests.py:98
Function
test_task_already_contains_callback
()
tests.py:76
Function
test_task_subclass
()
tests.py:89
Function
test_task_tree
Check TaskTree execution order. Following tree of tasks is created:: d 0 d 1 - d 1.1 ` d 1.2 - d 1.2.1
tests.py:25
Function
wrapper
(*args, **kwargs)
celery_tasktree.py:139