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

Function condition_has_sql

single_eval.py:67–74  ·  view source on GitHub ↗
(conds)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected