Querywrapper Lambda In Python Example