code: def id_creator(val, hash_len):
      # join `[dag-id,run-id]` of airflow dag.
      return hashlib.md5(
          "-".join([str(x) for x in val]).encode("utf-8")
      ).hexdigest()[:hash_len]
  
imports: import hashlib
  import json
  import sys
  import platform
  from collections import defaultdict
  from datetime import datetime, timedelta
label_desc: Use image node_id 10 for calling a global function with example usage: id_creator(val, hash_len) and returns: hashlib