python-docs-samples
python-docs-samples copied to clipboard
Code samples used on cloud.google.com
A typical code: ```python operation = client.do_something() operation.result() ``` We should pass timeout, otherwise it can wait forever. It is rather easy to use grep to find possible cases and...
Closing 3 issues in favor of tracking them all in one spot - during the 2020 Python Docs Samples spring cleaning we discussed the status of these and the migration...
Now we're using our own cache, but using the mirror is better in a long run.
Currently the service account used for our Kokoro builds has `editor` role. While this is convenient, strictly saying we should stop using the deprecated role and instead add specific minimum...
Hi, Can you also add logging for python38 cloud functions since by using default logger all logs are mapped without any severity level.
## Description Remove trace code sample that use OpenCensus. The whole folder is removed to reflect the migration of the public documentation to use OpenTelemetry in its samples. Fixes #8423
Note: #8306 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky. ---- commit: 11e9005835a6f260968ee9ba3198ef530d30af5b buildURL: [Build Status](https://source.cloud.google.com/results/invocations/a7cadf3a-42ec-4a7a-8332-615ba41ce80a), [Sponge](http://sponge2/a7cadf3a-42ec-4a7a-8332-615ba41ce80a) status:...
## Description First sample for #8425 ## Checklist - [x] Before submitting a pull request, please open an issue for discussion if you are not associated with Google. - [x]...
BigQuery Remote Function code samples are currently inline in documentation. https://cloud.google.com/bigquery/docs/reference/standard-sql/remote-functions#sample_code Instead of adding more code samples inline, new code samples for Unstructured Data Analytics are preferred to be added...
The periodic lint test is [failing](https://source.cloud.google.com/results/invocations/833f99ad-29e8-468f-a6b2-b1cb16a61b88/targets/cloud-devrel%2Fpython-docs-samples%2Flint%2Fperiodic/log) due to a handful of assert statements. This PR addresses them.