code: def register_suggestion(warning_message: str):
      global warning_messages
  
      # in case core dump / seg fault
      print(warning_message, flush=True)
  
      warning_messages.append(warning_message)
  
imports: import logging
  from typing import List
label_desc: Use image node_id 2 for calling a global function with example usage: register_suggestion(warning_message) without return types