You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/04 20:49:34 UTC
[GitHub] [airflow] MatrixManAtYrService commented on issue #22626: The command 'airflow dags test' is deadlocking tasks using AIP-42 features with the PythonVirtualenvOperator
MatrixManAtYrService commented on issue #22626:
URL: https://github.com/apache/airflow/issues/22626#issuecomment-1088000204
Same thing with DockerOperator
```python3
from airflow.decorators import dag
from airflow.operators.docker_operator import DockerOperator
from datetime import datetime, timedelta
@dag(schedule_interval=None, start_date=datetime(1970, 1, 1))
def hello_docker():
DockerOperator.partial(task_id="say_hi", image="bash:latest").expand(
command=[
[
"-c",
"echo Hello World",
],
[
"-c",
"echo Goodbye World",
],
]
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org