def GetAsync(keys, **kwargs):
 extra_hook = kwargs.pop('extra_hook', None)
 config = _GetConfigFromKwargs(kwargs)
 (keys, multiple) = NormalizeAndTypeCheckKeys(keys)
 def local_extra_hook(entities):
  if multiple:
   result = entities
  else:
   if (entities[0] is None):
    raise datastore_errors.EntityNotFoundError()
   result = entities[0]
  if extra_hook:
   return extra_hook(result)
  return result
 return _GetConnection().async_get(config, keys, local_extra_hook)

def GetAsync ( keys , ** kwargs ) : extra_hook = kwargs . pop ( 'extra_hook' , None ) config = _GetConfigFromKwargs ( kwargs ) ( keys , multiple ) = NormalizeAndTypeCheckKeys ( keys ) def local_extra_hook ( entities ) : if multiple : result = entities else : if ( entities [ 0 ] is None ) : raise datastore_errors . EntityNotFoundError ( ) result = entities [ 0 ] if extra_hook : return extra_hook ( result ) return result return _GetConnection ( ) . async_get ( config , keys , local_extra_hook )
asynchronously retrieves one or more entities from the datastore .