Skip to content

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.

@tswast tswast force-pushed the tswast-bigtable branch from ec07d37 to 7924c86 Compare June 15, 2016 20:39
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 force-pushed the tswast-bigtable branch from 7924c86 to 962352d Compare June 15, 2016 20:42
@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 <liyvonne@google.com>
dandhlee pushed a commit that referenced this pull request Feb 9, 2023
* fix: warning message

* docs: correct naming

Co-authored-by: Yvonne <liyvonne@google.com>
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* fix: warning message

* docs: correct naming

Co-authored-by: Yvonne <liyvonne@google.com>
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