Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/l/i/lisa-server-0.1.1.31/lisa/server/web/manageplugins/management/commands/plugin.py   lisa-server(Download)
            status = pluginmanager.uninstallPlugin(plugin_name=name)
        elif action == "enable":
            status = pluginmanager.enablePlugin(plugin_name=name)
        elif action == "create":
            status = pluginmanager.createPlugin(plugin_name=name, author_name=author_name, author_email=author_email)

src/l/i/lisa-server-0.1.1.31/lisa/server/web/manageplugins/api.py   lisa-server(Download)
        self.throttle_check(request)
 
        status = pluginmanager.enablePlugin(plugin_pk=kwargs['pk'])
        self.log_throttled_access(request)
        LisaInstance.SchedReload()
        self.throttle_check(request)
 
        status = pluginmanager.enablePlugin(plugin_pk=kwargs['pk'])
        self.log_throttled_access(request)
        LisaInstance.SchedReload()