Show More
@@ -276,6 +276,7 b' def _params_from_query(query):' | |||
|
276 | 276 | v = [] |
|
277 | 277 | def visit_bindparam(bind): |
|
278 | 278 | value = query._params.get(bind.key, bind.value) |
|
279 | ||
|
279 | 280 | # lazyloader may dig a callable in here, intended |
|
280 | 281 | # to late-evaluate params after autoflush is called. |
|
281 | 282 | # convert to a scalar value. |
@@ -285,6 +286,4 b' def _params_from_query(query):' | |||
|
285 | 286 | v.append(value) |
|
286 | 287 | if query._criterion is not None: |
|
287 | 288 | visitors.traverse(query._criterion, {}, {'bindparam':visit_bindparam}) |
|
288 | for f in query._from_obj: | |
|
289 | visitors.traverse(f, {}, {'bindparam':visit_bindparam}) | |
|
290 | 289 | return v |
General Comments 0
You need to be logged in to leave comments.
Login now