Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-1669] Fix Docker import #2653

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow/operators/docker_operator.py
Expand Up @@ -18,7 +18,7 @@
from airflow.models import BaseOperator
from airflow.utils.decorators import apply_defaults
from airflow.utils.file import TemporaryDirectory
from docker import Client, tls
from docker import APIClient as Client, tls
import ast


Expand Down
2 changes: 1 addition & 1 deletion tests/operators/docker_operator.py
Expand Up @@ -17,7 +17,7 @@

try:
from airflow.operators.docker_operator import DockerOperator
from docker.client import Client
from docker import APIClient as Client
except ImportError:
pass

Expand Down