title: How do I query from Google App Engine in python
body: <p>I need to query a kind K in my project P in python where the kinds can be seen on <a href="https://ah-builtin-python-bundle-dot-P.appspot.com/" rel="nofollow noreferrer">https://ah-builtin-python-bundle-dot-P.appspot.com/</a></p>
  
  <pre><code>from google.cloud import datastore
  
  client = datastore.client.Client(project='P')
  query = client.query(kind='K')
  print list(query.fetch(1))
  </code></pre>
  
  <p>running this does not return anything, it just gets stuck on the last line</p>