Skip to content

Adding Bigtable HappyBase Table class.#1489

Merged
dhermes merged 1 commit intogoogleapis:masterfrom
dhermes:bigtable-happybase-table
Feb 18, 2016
Merged

Adding Bigtable HappyBase Table class.#1489
dhermes merged 1 commit intogoogleapis:masterfrom
dhermes:bigtable-happybase-table

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Feb 18, 2016

Also adding a Table factory to HappyBase connection and adding two NotImplemented methods to the table module (to populate the namespace so that it is the same as the HappyBase implementation).

Also adding a Table factory to HappyBase connection and
adding two NotImplemented methods to the table module
(to populate the namespace so that it is the same as the
HappyBase implementation).
@dhermes dhermes added the api: bigtable Issues related to the Bigtable API. label Feb 18, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 18, 2016
raise NotImplementedError('The Cloud Bigtable API output is not the same '
'as the output from the Thrift server, so this '
'helper can not be implemented.', 'Called with',
cell_map, include_timestamp)

This comment was marked as spam.

This comment was marked as spam.

@tseaver
Copy link
Contributor

tseaver commented Feb 18, 2016

LGTM

dhermes added a commit that referenced this pull request Feb 18, 2016
Adding Bigtable HappyBase Table class.
@dhermes dhermes merged commit bc718d3 into googleapis:master Feb 18, 2016
@dhermes dhermes deleted the bigtable-happybase-table branch February 18, 2016 23:18
parthea pushed a commit that referenced this pull request Mar 2, 2026
When performing a IMDS request, the code incorrectly adds a content-type
header to the request:

`content-type: application/json` to AWS metadata (IMDS) GET requests.`

Some services at AWS (such as AWS SageMaker Jupyter notebook) have a
stricter than normal metadata server (IMDS, both v1 and v2) when it
comes to handling incoming http requests.

This PR removes the default content-header and replaces it with `None`.

NOTE: initializing headers to `None` (instead of an empty `dict`) when
no session token is present matches the existing behavior in
`_get_metadata_role_name` and allows the transport adapter to handle
default headers cleanly.

This PR updates existing unit tests (`tests/test_aws.py`) to match the
new behavior.

NOTE: closing PR #1489 due to inactivity as we make the push to migrate
this library to the `google-cloud-python` monorepo

For more information about the genesis of this, see the following issue:
https://issuetracker.google.com/issues/328089077
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants