擅长:python、mysql、java
<p>假设发现文档包含<code>queries</code>参数,我认为它应该是:</p>
<pre><code>queries = {"q1":[{"name~=":"*doubt*","name": None,"type": "/media_common/quotation","author": [{"name": "William Shakespeare"}]}], "q2":[{"name~=":"*law*","name": None,"type": "/media_common/quotation","author": [{"name": "William Shakespeare"}]}]}
response = json.loads(freebase.mqlread(queries=json.dumps(queries)).execute())
pprint (response)
</code></pre>
<p>客户机使用发现文档来确定每个API方法接受哪个参数。所以只要更改python参数的名称就可以了。在</p>