Providing a way to specify the executor to use while constructing the DAG object