From the NDB async docs:
Furthermore, instead of using acct = key.get() or acct = key.get_async().get_result(), the function should useacct = yield key.get_async(). This yield tells NDB that this is a good place to suspend this tasklet and let other tasklets run.
Re the second example: get_async().get_result()
I believe I understand why yield works here, and how it lets the system return to event loop.
Plan to re-write to use yield anyway - just trying to better understand the tasklet/async/eventloop system.
Thanks for any insight.
-ck