Skip to content

Commit

Permalink
Change dirhash package to checksumdir
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Lyrå <[email protected]>
  • Loading branch information
martinlyra committed Oct 19, 2021
1 parent 1e5c9d5 commit 58e1d8b
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 dirhash as _dirhash
import checksumdir as _dirhash

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.dirhash(source_dir, 'md5', match=['*.py'])}"
return f"fast{_dirhash(source_dir, 'md5')}"


def _write_marker(marker: _os.PathLike):
Expand Down

0 comments on commit 58e1d8b

Please sign in to comment.