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

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

src/m/o/monscale-0.4/monscale/pypelib/persistence/backends/django/Django.py   monscale(Download)
			parser = obj._parser
		try:
			ruleTable = PolicyRuleTableModel.objects.get(name=obj.name)
			ruleTable.type = obj._policy
			ruleTable.defaultParser = obj._parser
	def load(tableName, mappings, parser):
		Django.logger.info('Django.load')
		try:
			Table =  PolicyRuleTableModel.objects.get(name = tableName)
		# Translation of exceptions: Django -> PyPElib
        def delete(tableID):
                Django.logger.debug('Deleting RuleTable with id = %s...' % tableID)
                try:
                        table = PolicyRuleTableModel.objects.get(id = tableID)
			# If this is the latest PolicyRuleTable, delete its associated PolicyRule's
	def loadRuleSet(table_uuid):
		Django.logger.debug('Loading Rule set...')
		try:
			ruleTable = PolicyRuleTableModel.objects.get(uuid = table_uuid)
		except:

src/d/j/django-thermostat-2.3/django_thermostat/pypelib/persistence/backends/django/Django.py   django-thermostat(Download)
			parser = obj._parser
		try:
			ruleTable = PolicyRuleTableModel.objects.get(name=obj.name)
			ruleTable.type = obj._policy
			ruleTable.defaultParser = obj._parser
	def load(tableName, mappings, parser):
		Django.logger.info('Django.load')
		try:
			Table =  PolicyRuleTableModel.objects.get(name = tableName)
		# Translation of exceptions: Django -> PyPElib
        def delete(tableID):
                Django.logger.debug('Deleting RuleTable with id = %s...' % tableID)
                try:
                        table = PolicyRuleTableModel.objects.get(id = tableID)
			# If this is the latest PolicyRuleTable, delete its associated PolicyRule's
	def loadRuleSet(table_uuid):
		Django.logger.debug('Loading Rule set...')
		try:
			ruleTable = PolicyRuleTableModel.objects.get(uuid = table_uuid)
		except: