Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/plugins/windows/userdataplugins/factory.py   cloudbase-init(Download)
def load_plugins():
    plugins = {}
    cl = classloader.ClassLoader()
    for class_path in CONF.user_data_plugins:
        plugin = cl.load_class(class_path)()

src/c/l/cloudbase-init-HEAD/cloudbaseinit/metadata/services/osconfigdrive/factory.py   cloudbase-init(Download)
                                  'this platform: %s' % sys.platform)
 
    cl = classloader.ClassLoader()
    return cl.load_class(class_path)()
 

src/c/l/cloudbase-init-HEAD/cloudbaseinit/plugins/factory.py   cloudbase-init(Download)
def load_plugins():
    plugins = []
    cl = classloader.ClassLoader()
    for class_path in CONF.plugins:
        plugins.append(cl.load_class(class_path)())

src/c/l/cloudbase-init-HEAD/cloudbaseinit/osutils/factory.py   cloudbase-init(Download)
    }
 
    cl = classloader.ClassLoader()
    return cl.load_class(osutils_class_paths[os.name])()
 

src/c/l/cloudbase-init-HEAD/cloudbaseinit/metadata/factory.py   cloudbase-init(Download)
def get_metadata_service():
    # Return the first service that loads correctly
    cl = classloader.ClassLoader()
    for class_path in CONF.metadata_services:
        service = cl.load_class(class_path)()