docs: def arango_id_to_key(_id):
      """Remove illegal chars from potential arangodb _key (id)
  
      Args:
          _id (str): id to be used as arangodb _key
  
      Returns:
          (str): _key value with illegal chars removed
      """
  
      key = re.sub(r"[^a-zA-Z0-9\_\-\:\.\@\(\)\+\,\=\;\$\!\*\%]+", r"_", _id)
      if len(key) > 254:
          log.error(
              f"Arango _key cannot be longer than 254 chars: Len={len(key)}  Key: {key}"
          )
      elif len(key) < 1:
          log.error(f"Arango _key cannot be an empty string: Len={len(key)}  Key: {key}")
  
      return key