Updating Bigtable stub creation to work with emulator. by dhermes · Pull Request #2249 · googleapis/google-cloud-python · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 36 additions & 12 deletions google/cloud/bigtable/client.py
3 changes: 3 additions & 0 deletions google/cloud/environment_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
PUBSUB_EMULATOR = 'PUBSUB_EMULATOR_HOST'
"""Environment variable defining host for Pub/Sub emulator."""

BIGTABLE_EMULATOR = 'BIGTABLE_EMULATOR_HOST'
"""Environment variable defining host for Bigtable emulator."""

CREDENTIALS = 'GOOGLE_APPLICATION_CREDENTIALS'
"""Environment variable defining location of Google credentials."""

Expand Down
111 changes: 106 additions & 5 deletions unit_tests/bigtable/test_client.py