| Conditions | 1 |
| Total Lines | 14 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | 1 | import abc |
|
| 12 | 1 | def __init__(self, field: str, expression: str): |
|
| 13 | """ |
||
| 14 | Object contructor. |
||
| 15 | |||
| 16 | :param field: The name of the field in the row that must be match against the expression. |
||
| 17 | :param expression: The expression. |
||
| 18 | """ |
||
| 19 | 1 | self._field: str = field |
|
| 20 | """ |
||
| 21 | The name of the field in the row that must be match against the expression. |
||
| 22 | """ |
||
| 23 | |||
| 24 | self._expression: str = expression |
||
| 25 | """ |
||
| 26 | 1 | The expression. |
|
| 55 |