-
Notifications
You must be signed in to change notification settings - Fork 309
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
provide "light" version of this package #1142
Comments
Concur with the post, we were using this as a replacement over the now bloated google-api-python-client and will be forced to pin this to the latest non problematic version because we use this from an AWS lambda environment which have very specific restricions in terms of deployment size |
Would love to see a "light" version of this package. v3 won't install on a Raspberry Pi due to the I'm only using the client to insert some rows in a table, so really don't need all the extra bits. For now I've got it working by pinning to the last v2 version i.e. |
This follows a similar pattern to other output tests by mocking the end-to-end API calls. While this was a bit harder for the BigQuery client, in the absence of functional tests the advantages are: - It clarifies what the error behaviours are. - It thoroughly verifies the calls are valid. The documentation is a bit fragmented: - The old Grafana data source has more extensive guidance on how to setup the service user for querying data [^1]. - I can't find a clear reference to the environment variable for the credentials file path - just the error message. Note that v3 of the Google Cloud BigQuery client won't install on a Raspberry Pi right now, so we need to pin it to a lower version [^2]. [^1]: https://grafana.com/grafana/plugins/doitintl-bigquery-datasource/ [^2]: googleapis/python-bigquery#1142 (comment)
This follows a similar pattern to other output tests by mocking the end-to-end API calls. While this was a bit harder for the BigQuery client, in the absence of functional tests the advantages are: - It clarifies what the error behaviours are. - It thoroughly verifies the calls are valid. The documentation is a bit fragmented: - The old Grafana data source has more extensive guidance on how to setup the service user for querying data [^1]. - I can't find a clear reference to the environment variable for the credentials file path - just the error message. Note that v3 of the Google Cloud BigQuery client won't install on a Raspberry Pi right now, so we need to pin it to a lower version [^2]. [^1]: https://grafana.com/grafana/plugins/doitintl-bigquery-datasource/ [^2]: googleapis/python-bigquery#1142 (comment)
This follows a similar pattern to other output tests by mocking the end-to-end API calls. While this was a bit harder for the BigQuery client, in the absence of functional tests the advantages are: - It clarifies what the error behaviours are. - It thoroughly verifies the calls are valid. The documentation is a bit fragmented: - The old Grafana data source has more extensive guidance on how to setup the service user for querying data [^1]. - I can't find a clear reference to the environment variable for the credentials file path - just the error message. Note that v3 of the Google Cloud BigQuery client won't install on a Raspberry Pi right now, so we need to pin it to a lower version [^2]. [^1]: https://grafana.com/grafana/plugins/doitintl-bigquery-datasource/ [^2]: googleapis/python-bigquery#1142 (comment)
This follows a similar pattern to other output tests by mocking the end-to-end API calls. While this was a bit harder for the BigQuery client, in the absence of functional tests the advantages are: - It clarifies what the error behaviours are. - It thoroughly verifies the calls are valid. The documentation is a bit fragmented: - The old Grafana data source has more extensive guidance on how to setup the service user for querying data [^1]. - I can't find a clear reference to the environment variable for the credentials file path - just the error message. Note that v3 of the Google Cloud BigQuery client won't install on a Raspberry Pi right now, so we need to pin it to a lower version [^2]. [^1]: https://grafana.com/grafana/plugins/doitintl-bigquery-datasource/ [^2]: googleapis/python-bigquery#1142 (comment)
Gonna close this item. Rationale:
|
I believe this is fixed by #1721 |
In certain use cases (limited compute resources), it would be useful to have just the REST API pieces without any protobuf, grpcio, pyarrow, pandas or other heavier dependencies.
CC @parthea
The text was updated successfully, but these errors were encountered: