예제 #1
0
 def retain(self):
     config = self.data.get('retain', {'match_all': {}})
     return Rule.get_rule(config)
예제 #2
0
 def crawl(self):
     config = self.data.get('crawl', {'match_all': {}})
     return Rule.get_rule(config)