code: def set_affinity_str(affinity_str=None):
      if affinity_str is None or affinity_str.isspace():
          set_affinity_mask(None)
      aff = [int(alloc) for alloc in affinity_str.split(",")]
      set_affinity_list(aff)
  
label_desc: Use image node_id 3 for calling a global function with example usage: set_affinity_str(affinity_str) without return types