Query Method In Python Examples Code