code: def load_session(filename=None, main=None, **kwds):
      warnings.warn(
          "load_session() has been renamed load_module().",
          PendingDeprecationWarning,
      )
      load_module(filename, module=main, **kwds)
  
imports: import re
  import os
  import sys
  import warnings
  from dill import _dill, Pickler, Unpickler
  from ._dill import BuiltinMethodType, FunctionType, MethodType, ModuleType, TypeType, _import_module, _is_builtin_module, _is_imported_module, _main_module, _reverse_typemap, __builtin__
  from typing import Optional, Union
  import pathlib
  import tempfile
label_desc: Use image node_id 10 for calling a global function with example usage: load_session(filename, main) without return types