Others
Bases: str
, Enum
The strategy to use when an error is raised inside a function in a DAG.
Source code in tawazi/errors.py
Bases: str
, Enum
The Resource to use launching ExecNodes inside the DAG scheduler a DAG.
Resource can be either: 1. "thread": Launch the ExecNode in a thread (Default) 2. "main-thread": Launch the ExecNode inside the main thread, directly inside the main scheduler.
Notice that when "main-thread" is used, some of the scheduler functionalities stop working as previously expected: 1. No new ExecNode will be launched during the execution of the corresponding ExecNode 2. If timeout is set on the corresponding ExecNode, it is not guaranteed to work properly.