executor
numerous.tasks.executor
Task executor implementations.
LocalThreadTaskExecutor
Executor that runs tasks in a thread pool.
Source code in numerous/tasks/executor.py
85 86 87 88 89 90 91 92 93 | |
submit(task_def, state)
Submit a task for execution.
Source code in numerous/tasks/executor.py
91 92 93 | |
PlatformExecutor
Executor that starts tasks on the Numerous platform via GraphQL.
Source code in numerous/tasks/executor.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | |
submit(task_def, state)
Start a task on the Numerous platform.
Source code in numerous/tasks/executor.py
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
TaskExecutor
Bases: Protocol
Protocol for task execution.
Source code in numerous/tasks/executor.py
27 28 29 30 31 32 | |
submit(task_def, state)
Submit a task for execution.
Source code in numerous/tasks/executor.py
30 31 32 | |