parse_sagemaker_version: Returns sagemaker library version. This should only be called...

View source: R/jumpstart_utils.R

parse_sagemaker_versionR Documentation

Returns sagemaker library version. This should only be called once.

Description

Function reads “__version__“ variable in “sagemaker“ module. In order to maintain compatibility with the “packaging.version“ library, versions with fewer than 2, or more than 3, periods are rejected. All versions that cannot be parsed with “packaging.version“ are also rejected.

Usage

parse_sagemaker_version()

DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.