(cond_unit)
| 710 | |
| 711 | # Rebuild SQL functions for value evaluation |
| 712 | def rebuild_cond_unit_val(cond_unit): |
| 713 | if cond_unit is None or not DISABLE_VALUE: |
| 714 | return cond_unit |
| 715 | |
| 716 | not_op, op_id, val_unit, val1, val2 = cond_unit |
| 717 | if type(val1) is not dict: |
| 718 | val1 = None |
| 719 | else: |
| 720 | val1 = rebuild_sql_val(val1) |
| 721 | if type(val2) is not dict: |
| 722 | val2 = None |
| 723 | else: |
| 724 | val2 = rebuild_sql_val(val2) |
| 725 | return not_op, op_id, val_unit, val1, val2 |
| 726 | |
| 727 | |
| 728 | def rebuild_condition_val(condition): |
no test coverage detected