code: def regions():
      boto_session = boto3.Session()
      for partition in boto_session.get_available_partitions():
          for region in boto_session.get_available_regions(
              "sagemaker", partition_name=partition
          ):
              yield region
  
label_desc: Use image node_id 1 for calling a global function with example usage: regions() without return types