code: def import_string_code_as_module(code):
      """Used to run arbitrary passed code as a module
  
      Args:
          code (string): Python code to import as module
  
      Returns:
          module: Python module
      """
      sha256 = hashlib.sha256(code.encode("UTF-8")).hexdigest()
      module = imp.new_module(sha256)
      try:
          exec_(code, module.__dict__)
      except Exception as e:
          raise exceptions.UserError(
              "User code exception", exception_message=str(e)
          )
      sys.modules[sha256] = module
      return module
  
imports: from __future__ import absolute_import, print_function, division, unicode_literals
  import imp
  import sys
  import os
  import hashlib
  import json
  import numpy
  from sqlalchemy import create_engine
  from sqlalchemy.orm import Session
  from six import exec_, iteritems
  from sklearn import datasets
  from sklearn import model_selection
  from xcessiv import app, exceptions
label_desc: Use image node_id 5 for calling a global function with example usage: import_string_code_as_module(code) and returns: module