Conditions | 3 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | from typing import Any, Dict |
||
12 | def match(self, row: Dict[str, Any]) -> bool: |
||
13 | """ |
||
14 | Returns True if the row matches one or more child conditions. Returns False otherwise. |
||
15 | |||
16 | :param dict row: The row. |
||
17 | """ |
||
18 | for condition in self._conditions: |
||
19 | if condition.match(row): |
||
20 | return True |
||
21 | |||
22 | return False |
||
23 | |||
25 |