@utils.decorator
def transactional_tasklet(func, args, kwds, **options):
 from . import tasklets
 func = tasklets.tasklet(func)
 return transactional_async.wrapped_decorator(func, args, kwds, **options)

@ utils . decorator def transactional_tasklet ( func , args , kwds , ** options ) : from . import tasklets func = tasklets . tasklet ( func ) return transactional_async . wrapped_decorator ( func , args , kwds , ** options )
the async version of @ndb .