@@ -707,15 +707,15 @@ def test_invalid_option_for_sql_dialect(self):
707
707
private_key = _get_private_key_path ())
708
708
709
709
# Test that a correct option for dialect succeeds
710
- # to make sure ValueError was due to invalid dialect
710
+ # to make sure ValueError was due to invalid dialect
711
711
gbq .read_gbq (sql_statement , project_id = _get_project_id (),
712
712
dialect = 'standard' , private_key = _get_private_key_path ())
713
713
714
714
def test_query_with_parameters (self ):
715
- sql_statement = "SELECT @param1 + @param2 as VALID_RESULT"
715
+ sql_statement = "SELECT @param1 + @param2 as VALID_RESULT"
716
716
query_config = {
717
- "useLegacySql" :False ,
718
- "parameterMode" :"named" ,
717
+ "useLegacySql" : False ,
718
+ "parameterMode" : "named" ,
719
719
"queryParameters" : [
720
720
{
721
721
"name" : "param1" ,
@@ -744,14 +744,14 @@ def test_query_with_parameters(self):
744
744
745
745
# Test that a correct query with query config
746
746
df = gbq .read_gbq (sql_statement , project_id = _get_project_id (),
747
- private_key = _get_private_key_path (),
748
- query_config = query_config )
747
+ private_key = _get_private_key_path (),
748
+ query_config = query_config )
749
749
tm .assert_frame_equal (df , DataFrame ({'VALID_RESULT' : [3 ]}))
750
750
751
751
def test_query_no_cache (self ):
752
752
query = 'SELECT "PI" as VALID_STRING'
753
753
query_config = {
754
- "useQueryCache" :False ,
754
+ "useQueryCache" : False ,
755
755
}
756
756
df = gbq .read_gbq (query , project_id = _get_project_id (),
757
757
private_key = _get_private_key_path (),
0 commit comments