@require_context
@pick_context_manager_reader
def instance_info_cache_get(context, instance_uuid):
 return model_query(context, models.InstanceInfoCache).filter_by(instance_uuid=instance_uuid).first()

@ require_context @ pick_context_manager_reader def instance_info_cache_get ( context , instance_uuid ) : return model_query ( context , models . InstanceInfoCache ) . filter_by ( instance_uuid = instance_uuid ) . first ( )
gets an instance info cache from the table .