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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/m/o/monscale-0.4/monscale/pypelib/persistence/backends/django/Django.py   monscale(Download)
'''
from .RuleModel import PolicyRuleModel
from .RuleTableModel import PolicyRuleTableModel
from pypelib.parsing.ParseEngine import ParseEngine
from pypelib.Rule import Rule
			ruleTable.save()
		except:
			ruleTable = PolicyRuleTableModel(name = obj.name, uuid = obj.uuid, type = obj._policy, defaultParser = parser, defaultPersistence = obj._persistenceBackend, defaultPersistenceFlag = obj._persist)
 
			ruleTable.save()

src/d/j/django-thermostat-2.3/django_thermostat/pypelib/persistence/backends/django/Django.py   django-thermostat(Download)
'''
from .RuleModel import PolicyRuleModel
from .RuleTableModel import PolicyRuleTableModel
from pypelib.parsing.ParseEngine import ParseEngine
from pypelib.Rule import Rule
			ruleTable.save()
		except:
			ruleTable = PolicyRuleTableModel(name = obj.name, uuid = obj.uuid, type = obj._policy, defaultParser = parser, defaultPersistence = obj._persistenceBackend, defaultPersistenceFlag = obj._persist)
 
			ruleTable.save()