def get_async(keys, **kwargs):
 (keys, multiple) = datastore.NormalizeAndTypeCheckKeys(keys)
 def extra_hook(entities):
  if ((not multiple) and (not entities)):
   return None
  models = []
  for entity in entities:
   if (entity is None):
    model = None
   else:
    cls1 = class_for_kind(entity.kind())
    model = cls1.from_entity(entity)
   models.append(model)
  if multiple:
   return models
  assert (len(models) == 1)
  return models[0]
 return datastore.GetAsync(keys, extra_hook=extra_hook, **kwargs)

def get_async ( keys , ** kwargs ) : ( keys , multiple ) = datastore . NormalizeAndTypeCheckKeys ( keys ) def extra_hook ( entities ) : if ( ( not multiple ) and ( not entities ) ) : return None models = [ ] for entity in entities : if ( entity is None ) : model = None else : cls1 = class_for_kind ( entity . kind ( ) ) model = cls1 . from_entity ( entity ) models . append ( model ) if multiple : return models assert ( len ( models ) == 1 ) return models [ 0 ] return datastore . GetAsync ( keys , extra_hook = extra_hook , ** kwargs )
asynchronously fetch the specified model instance(s) from the datastore .