code: def loader(driver):
      driver_mod = __import__(
          "sqlalchemy.dialects.mysql.%s" % driver
      ).dialects.mysql
      driver_cls = getattr(driver_mod, driver).dialect
  
      return type(
          "MariaDBDialect_%s" % driver,
          (
              MariaDBDialect,
              driver_cls,
          ),
          {"supports_statement_cache": True},
      )
  
imports: from .base import MariaDBIdentifierPreparer
  from .base import MySQLDialect
label_desc: Use image node_id 1 for calling a global function with example usage: loader(driver) and returns: type