code: def get(type):
      from importlib import import_module
  
      module = ".".join(type.split(".")[:-1])
      name = type.split(".")[-1]
      return getattr(import_module(module), name)
  
file_path: pygal/demo/moulinrouge/__init__.py
imports: import pickle
  import random
  import string
  from base64 import urlsafe_b64decode
  from base64 import urlsafe_b64encode
  from flask import Flask, Response, render_template, request
  import pygal
  from pygal.config import Config
  from pygal.etree import etree
  from pygal.style import parametric_styles, styles
  from pygal.util import cut
label_desc: Use image node_id 1 for calling a global function with example usage: get(type) and returns: getattr