diff --git a/src/sagemaker/jumpstart/notebook_utils.py b/src/sagemaker/jumpstart/notebook_utils.py index cdca35eed0..7934a3ad33 100644 --- a/src/sagemaker/jumpstart/notebook_utils.py +++ b/src/sagemaker/jumpstart/notebook_utils.py @@ -261,6 +261,7 @@ def list_jumpstart_scripts( # pylint: disable=redefined-builtin break return sorted(list(scripts)) + def _is_valid_version(version: str) -> bool: """ Checks if the version is convertable to Version class