code: def unload_module(path):
      # remove all modules started with path
      import sys
  
      to_remove = []
      for module_name in sys.modules:
          if module_name.startswith(path + ".") or module_name == path:
              to_remove.append(module_name)
      to_remove.sort(reverse=True)
      for module_name in to_remove:
          sys.modules.pop(module_name)
  
imports: import copy
  import datetime
  import json
  import os
  import sys
  import tempfile
  from unittest import mock
  from pathlib import Path
  import duckdb
  import numpy
  import pandas
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb_sql import parse_sql
label_desc: Use image node_id 1 for calling a global function with example usage: unload_module(path) without return types