File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
google/cloud/bigtable_v2/services/bigtable Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1496,7 +1496,8 @@ def execute_query(
14961496 if regex_match and regex_match .group ("name" ):
14971497 header_params ["name" ] = regex_match .group ("name" )
14981498
1499- if request .app_profile_id :
1499+ if request .app_profile_id is not None :
1500+ # execute_query currently requires empty header support. TODO: remove after support is added
15001501 header_params ["app_profile_id" ] = request .app_profile_id
15011502
15021503 if header_params :
Original file line number Diff line number Diff line change @@ -1893,7 +1893,8 @@ def execute_query(
18931893 if regex_match and regex_match .group ("name" ):
18941894 header_params ["name" ] = regex_match .group ("name" )
18951895
1896- if request .app_profile_id :
1896+ if request .app_profile_id is not None :
1897+ # execute_query currently requires empty header support. TODO: remove after support is adde
18971898 header_params ["app_profile_id" ] = request .app_profile_id
18981899
18991900 if header_params :
You can’t perform that action at this time.
0 commit comments