python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

Code samples used on cloud.google.com

Results 508 python-docs-samples issues
Sort by recently updated
recently updated
newest added

## Description Continuous tuning accepts a model resource name as the base_model and an optional checkpoint ID to run continuous tuning from. Fixes # Note: Before submitting a pull request,...

samples

## Description Adds a Python sample to disable a BQ DTS transfer configuration. We're missing a sample here in https://cloud.google.com/bigquery/docs/working-with-transfers#disable_a_transfer ## Checklist - [x] I have followed [Sample Guidelines from...

samples

## Description Fixes #13569 ## Checklist - [X] Please **merge** this PR for me once it is approved

api: composer
samples

## In which file did you encounter the issue? `composer/workflows/airflow_db_cleanup.py` ## Did you change the file? If so, how? ```diff dags = session.query(airflow_db_model.dag_id).distinct() session.commit() - list_dags = [str(list(dag)[0]) for dag...

triage me
priority: p2
type: bug
samples

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [cryptography](https://redirect.github.com/pyca/cryptography) ([changelog](https://cryptography.io/en/latest/changelog/)) | `==45.0.1` -> `==46.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/cryptography/46.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/cryptography/45.0.1/46.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ###...

api: compute
api: cloudkms
api: iap
samples
api: security-privateca
owlbot:run
api: edgecache

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [xmltodict](https://redirect.github.com/martinblech/xmltodict) | `==0.13.0` -> `==1.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/xmltodict/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/xmltodict/0.13.0/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release...

api: cloudfunctions
samples
owlbot:run

## Description Add code snippet for embeddings normalization, so that the magnitude of the array is always 1. ## Checklist - [X] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md) -...

samples
waiting-response

## Description Based on the RPC Workshop, this sample is updated to the current style guide. Note: I think that `create`, `get` and `delete` samples should be refactored in the...

samples