Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add region tags to bigtable/hello sample. #376

Merged
merged 1 commit into from
Jun 15, 2016
Merged

Add region tags to bigtable/hello sample. #376

merged 1 commit into from
Jun 15, 2016

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Jun 14, 2016

Also, change the sample to use sequential keys (with a disclaimer) to
match the Java sample. I had forgotten to add a sample usage to get a
specific row, so add that, too.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 14, 2016
@theacodes theacodes assigned waprin and unassigned theacodes Jun 14, 2016

from gcloud import bigtable
from gcloud.bigtable import happybase


def main(project, cluster_id, zone, table_name):
# [START connecting_to_bigtable]
# project = "my-project-id"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These comments are unnecessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree w/ Jon - rename project => projectId (or the Python convention), same for the others.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary comments removed and project renamed to project_id.

@theacodes
Copy link
Contributor

LGTM with small nit, but @waprin should review.

@lesv
Copy link
Contributor

lesv commented Jun 15, 2016

LGTM - w/ Jon's nit.

Also, change the sample to use sequential keys (with a disclaimer) to
match the Java sample. I had forgotten to add a sample usage to get a
specific row, so add that, too.
@tswast tswast merged commit d994b91 into master Jun 15, 2016
@tswast tswast deleted the tswast-bigtable branch June 15, 2016 20:52
telpirion pushed a commit that referenced this pull request Jan 13, 2023
* fix: warning message

* docs: correct naming

Co-authored-by: Yvonne <[email protected]>
dandhlee pushed a commit that referenced this pull request Feb 9, 2023
* fix: warning message

* docs: correct naming

Co-authored-by: Yvonne <[email protected]>
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* fix: warning message

* docs: correct naming

Co-authored-by: Yvonne <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants