python-docs-samples
python-docs-samples copied to clipboard
Code samples used on cloud.google.com
The following samples are not yet compatible with Python 3.10 because their dependencies are not yet compatible with Python 3.10 (cc @GoogleCloudPlatform/python-samples-owners ) - [x] Dataflow - Beam is not...
## In which file did you encounter the issue? - [bookstore-grpc/api_config_auth.yaml](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/endpoints/bookstore-grpc/api_config_auth.yaml) - [bookstore-grpc-transcoding/api_config_auth.yaml](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/endpoints/bookstore-grpc-transcoding/api_config_auth.yaml) ### Did you change the file? If so, how? Yes, in the following section of the files:...
It was noticed that most of the [snippet tests](https://github.com/q-logic/python-docs-samples/blob/f5f3744438e468b4f71cd4524e9f2f1cf7811826/firestore/cloud-client/snippets_test.py) in Firestore doesn't do any asserts. As per [comments](https://github.com/GoogleCloudPlatform/python-docs-samples/pull/4196#discussion_r451797229) it should be fixed. /cc @tmatsuo, @busunkim96
## In which file did you encounter the issue? https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/endpoints/bookstore-grpc/bookstore_server.py ### Did you change the file? If so, how? Overrode the PORT env variable to set it to 8000. Changed...
## In which file did you encounter the issue? https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/endpoints/bookstore-grpc-transcoding ## Describe the issue We got a bug report for https://cloud.google.com/apis/design/ (internal bug number: 148977958), claiming that the example protos...
https://airflow.apache.org/docs/apache-airflow/stable/faq.html#when-there-are-a-lot-1000-of-dags-files-how-to-speed-up-parsing-of-new-files For customers with large # of DAGs, this sample will result in all of them being marked as "modified", and as such, they'll be parsed by Airflow. Let's make...
Currently there are no tests in this directory, which makes merging PR's risky.
## In which file did you encounter the issue? https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/functions/helloworld/sample_http_test_integration.py ## Describe the issue Based on issues described in https://github.com/GoogleCloudPlatform/functions-framework-python/issues/97, there is a simpler / less brittle integration test we...
## In which file did you encounter the issue? https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/firestore/cloud-client/snippets_test.py ## Describe the issue Tests aren't self contained and also not being verified for correctness. At the moment, tests only...
based on suggestions from @grayside and @dandhlee - [ ] move `functions/spanner` code to `spanner/functions` (or possibly to the spanner repo - can't remember where spanner samples live right now)...