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

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

src/l/i/lisa-server-0.1.1.31/lisa/server/plugins/PluginManager.py   lisa-server(Download)
import lisa.plugins
import pip
import shutil
import inspect
from lisa.server.web.manageplugins.models import Plugin, Description, Rule, Cron, Intent
                if item == 'rules':
                    for rule_item in metadata['rules']:
                        rule = Rule()
                        for parameter in rule_item:
                            setattr(rule, parameter, rule_item[parameter])

src/l/i/lisa-server-0.1.1.31/lisa/server/web/manageplugins/api.py   lisa-server(Download)
from tastypie import authorization
from tastypie.utils import trailing_slash
from tastypie_mongoengine import resources, fields
from lisa.server.web.manageplugins.models import Plugin, Description, Rule, Intent
from django.conf.urls import *

src/l/i/lisa-server-0.1.1.31/lisa/server/web/manageplugins/management/commands/plugin.py   lisa-server(Download)
from django.core.management.base import BaseCommand, CommandError
from lisa.server.web.manageplugins.models import Plugin, Rule, Cron
from optparse import make_option
import os, json
import requests

src/l/i/lisa-server-0.1.1.31/lisa/server/libs/server.py   lisa-server(Download)
 
from lisa.server.service import configuration, dir_path
from lisa.server.web.manageplugins.models import Intent, Rule
 
# Create a task manager to pass it to other services