We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e402002 commit 7f97b16Copy full SHA for 7f97b16
sagemaker-core/src/sagemaker/core/workflow/utilities.py
@@ -21,7 +21,14 @@
21
import hashlib
22
from urllib.parse import unquote, urlparse
23
from contextlib import contextmanager
24
-from _hashlib import HASH as Hash
+
25
+try:
26
+ # _hashlib is an internal python module, and is not present in
27
+ # statically linked interpreters.
28
+ from _hashlib import HASH as Hash
29
+except ImportError:
30
+ import typing
31
+ Hash = typing.Any
32
33
from sagemaker.core.common_utils import base_from_name
34
from sagemaker.core.workflow.parameters import Parameter
0 commit comments