Skip to content

Commit

Permalink
allow empty app_profile_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Jan 16, 2025
1 parent 2785378 commit 61a3d43
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,18 @@ def get_staging_dirs(
INSTALL_LIBRARY_FROM_SOURCE = False""")

s.shell.run(["nox", "-s", "blacken"], hide_output=False)

# ----------------------------------------------------------------------------
# Customize execute_query rpc to support empty app_profile_id headers
# ----------------------------------------------------------------------------

s.replace(
"google/cloud/bigtable_v2/services/bigtable/client.py",
"if request.app_profile_id:",
"if request.app_profile_id is not None: # temporary fix: support empty headers for btql routing"
)
s.replace(
"google/cloud/bigtable_v2/services/bigtable/async_client.py",
"if request.app_profile_id:",
"if request.app_profile_id is not None: # temporary fix: support empty headers for btql routing"
)

0 comments on commit 61a3d43

Please sign in to comment.