(cond_unit)
| 780 | |
| 781 | # Rebuild SQL functions for value evaluation |
| 782 | def rebuild_cond_unit_val(cond_unit): |
| 783 | if cond_unit is None or not DISABLE_VALUE: |
| 784 | return cond_unit |
| 785 | |
| 786 | not_op, op_id, val_unit, val1, val2 = cond_unit |
| 787 | if type(val1) is not dict: |
| 788 | val1 = None |
| 789 | else: |
| 790 | val1 = rebuild_sql_val(val1) |
| 791 | if type(val2) is not dict: |
| 792 | val2 = None |
| 793 | else: |
| 794 | val2 = rebuild_sql_val(val2) |
| 795 | return not_op, op_id, val_unit, val1, val2 |
| 796 | |
| 797 | |
| 798 | def rebuild_condition_val(condition): |
no test coverage detected