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

Function condition_has_sql

hardness_eval.py:606–613  ·  view source on GitHub ↗
(conds)

Source from the content-addressed store, hash-verified

604
605
606def condition_has_sql(conds):
607 for cond_unit in conds[::2]:
608 val1, val2 = cond_unit[3], cond_unit[4]
609 if val1 is not None and type(val1) is dict:
610 return True
611 if val2 is not None and type(val2) is dict:
612 return True
613 return False
614
615
616def val_has_op(val_unit):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected