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 client should support more OO interface #420

Open
TheKevJames opened this issue Jan 12, 2022 · 1 comment
Open

BigQuery client should support more OO interface #420

TheKevJames opened this issue Jan 12, 2022 · 1 comment

Comments

@TheKevJames
Copy link
Member

Dealing with the JSON response objects is a nightmare. eg. for SELECT foo FROM bar, processing the response involves doing something like foos = [row['f'][0]['v'] for row in res.get('rows', [])]. Ideally, we'd be able to do foos = [row.foo for row in res] or such.

@BoweiYuanDialpad
Copy link
Contributor

Indeed it's a very nice to have, not only for bigquery but also other services such as cloudtasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants