code: def rand_string(min_len=5, max_len=10):
      str_size = random.randint(min_len, max_len)
      chars = string.ascii_letters + string.punctuation
      return "".join(random.choice(chars) for _ in range(str_size))
  
imports: from __future__ import annotations
  import random
  import string
  import unittest
  from copy import deepcopy
  import numpy
  import torch
  from parameterized import parameterized
  from monai import config
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms import FromMetaTensord, ToMetaTensord
  from monai.utils.enums import PostFix
  from tests.utils import TEST_DEVICES, assert_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: rand_string(min_len, max_len) and returns: str