Skip to content

Instantly share code, notes, and snippets.

View krapes's full-sized avatar

Kerri Rapes krapes

View GitHub Profile
@krapes
krapes / gist:565d7b8fff6d796b8686aae07101b55a
Created September 11, 2019 00:52
Retrieve data from BigTable
from google.cloud import bigtable
from google.cloud.bigtable import column_family
from google.cloud.bigtable import row_filters
client = bigtable.Client(project=project_id, admin=True)
instance = client.instance(instance_id)
table = instance.table(table_id)
def streamToDict(partial):