code: def test_from_string():
      x = Test()
      value = 65
  
      x.validated = value
      from_api = str(value)
  
      x.validated = from_api
      assert x.validated == value
  
file_path: sagemaker-python-sdk/tests/unit/test_hyperparameter.py
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.amazon.hyperparameter import Hyperparameter
label_desc: Use image node_id 7 for calling a global function with example usage: test_from_string() without return types