擅长:python、mysql、java
<p>根据@zzzeek的评论:</p>
<blockquote>
<p>note that this is the correct answer for modern versions of
SQLAlchemy, assuming "row" is a core row object, not an ORM-mapped
instance.</p>
</blockquote>
<pre><code>for row in resultproxy:
row_as_dict = dict(row)
</code></pre>