From 90054e76bf729b91ec65c4df0c437d3a58139c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Lyr=C3=A5?= Date: Thu, 21 Oct 2021 14:51:10 +0200 Subject: [PATCH] Import `checksumdir` with no alias --- flytekit/tools/fast_registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flytekit/tools/fast_registration.py b/flytekit/tools/fast_registration.py index 6e92ae4256a..99e789df3a3 100644 --- a/flytekit/tools/fast_registration.py +++ b/flytekit/tools/fast_registration.py @@ -4,7 +4,7 @@ import tempfile as _tempfile from pathlib import Path as _Path -import checksumdir as _dirhash +import checksumdir from flytekit.interfaces.data import data_proxy as _data_proxy from flytekit.interfaces.data.data_proxy import Data as _Data @@ -18,7 +18,7 @@ def compute_digest(source_dir: _os.PathLike) -> str: :param _os.PathLike source_dir: :return Text: """ - return f"fast{_dirhash(source_dir, 'md5')}" + return f"fast{checksumdir.dirhash(source_dir, 'md5')}" def _write_marker(marker: _os.PathLike):