Skip to content

Commit

Permalink
Import checksumdir with no alias
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Lyrå <[email protected]>
  • Loading branch information
martinlyra committed Oct 21, 2021
1 parent 722c334 commit c03c6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flytekit/tools/fast_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit c03c6fb

Please sign in to comment.