title: GAE Datastore write operations dalay
body: <p>I have a DB that maintain a list of calls. Every week I have to import an excel file or a json object to make sure that the  list of calls data is in sync with another db, which has a different format (I have to do some interpretations on the data I get from the xls)</p>
  
  <p>Anyhow, I made a function that do all the import, but I noticed that each time I run it I get different results. </p>
  
  <p>After some investigation, what I notice is that if I do lots of put() in sequence there is a lag between the end of the put and when the data is available in the datastore so queries sometimes return different values.</p>
  
  <p>I fixed it adding a delay</p>
  
  <pre><code>time.sleep(1) 
  </code></pre>
  
  <p>But I think there should be a way to just wait until datastore is stable and not a fixed amount of time. I tried to find it but had no luck.</p>
  
  <p>Any help?</p>