def bind_values(clause):
 v = []
 def visit_bindparam(bind):
  v.append(bind.effective_value)
 visitors.traverse(clause, {}, {'bindparam': visit_bindparam})
 return v

def bind_values ( clause ) : v = [ ] def visit_bindparam ( bind ) : v . append ( bind . effective_value ) visitors . traverse ( clause , { } , { 'bindparam' : visit_bindparam } ) return v
return an ordered list of "bound" values in the given clause .