(self, records, gate)
| 218 | ) |
| 219 | |
| 220 | def parsed(self, records, gate): |
| 221 | self.records = _bounded_add( |
| 222 | self.records, len(records), self.limits.max_records, "record limit" |
| 223 | ) |
| 224 | for record in records: |
| 225 | gate.step() |
| 226 | self.counter_values = _bounded_add( |
| 227 | self.counter_values, len(record.counters), |
| 228 | self.limits.max_counter_values, "counter value limit", |
| 229 | ) |
| 230 | self.name_bytes = _bounded_add( |
| 231 | self.name_bytes, len(record.raw_name), |
| 232 | self.limits.max_name_bytes, "name byte limit", |
| 233 | ) |
| 234 | |
| 235 | def reference(self): |
| 236 | self.id_references = _bounded_add( |
no test coverage detected