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

BigQuery: Adds helper function for snake to camel case conversion #4160

Merged
merged 2 commits into from
Oct 18, 2017

Conversation

alixhami
Copy link
Contributor

New helper function to factor out repetitive code in client.py and table.py

@alixhami alixhami added the api: bigquery Issues related to the BigQuery API. label Oct 11, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 11, 2017
@@ -366,6 +366,12 @@ def _time_to_json(value):
_SCALAR_VALUE_TO_JSON_PARAM['TIMESTAMP'] = _timestamp_to_json_parameter


def _snake_to_camel_case(value):

This comment was marked as spam.

@lukesneeringer
Copy link
Contributor

lukesneeringer commented Oct 12, 2017

Do we not have this in core somewhere? /cc @jonparrott for sanity check.

@alixhami alixhami force-pushed the bq-camel-case-helper branch from f99d881 to 859fa9b Compare October 18, 2017 21:58
@alixhami
Copy link
Contributor Author

Just asked @jonparrott and he said there aren't any helpers that do this.

@tswast tswast merged commit c82d512 into googleapis:bigquery-b2 Oct 18, 2017
@alixhami alixhami deleted the bq-camel-case-helper branch January 5, 2018 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants