Skip to content

Commit 8abb8ee

Browse files
committed
Re-add docker.utils.types module for backwards compatibility
Signed-off-by: Joffrey F <[email protected]>
1 parent 7167189 commit 8abb8ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker/utils/types.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Compatibility module. See https://github.com/docker/docker-py/issues/1196
2+
3+
import warnings
4+
5+
from ..types import Ulimit, LogConfig # flake8: noqa
6+
7+
warnings.warn('docker.utils.types is now docker.types', ImportWarning)

0 commit comments

Comments
 (0)