Lines Matching refs:record
54 self.record = None
99 self.record = config.get('record', {})
100 if self.record:
101 self.record_pattern = re.compile(self.record.get("regex", ""))
102 self.record_as_json = self.record.get("as_json")
113 def translate_record(self, record: dict) -> dict:
116 if k not in record:
119 record[k] = json.loads(record[k]) if record[k] else {}
124 record[k] = { 'ERROR': { 'msg': str(parse_error), 'doc': record[k] } }
125 return record
374 self.instance.record(self.recording)