MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / condition_has_sql

Function condition_has_sql

evaluation/test-suite-sql-eval/evaluation.py:66–73  ·  view source on GitHub ↗
(conds)

Source from the content-addressed store, hash-verified

64
65
66def condition_has_sql(conds):
67 for cond_unit in conds[::2]:
68 val1, val2 = cond_unit[3], cond_unit[4]
69 if val1 is not None and type(val1) is dict:
70 return True
71 if val2 is not None and type(val2) is dict:
72 return True
73 return False
74
75
76def val_has_op(val_unit):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected