python-docs-samples
python-docs-samples copied to clipboard
Code samples used on cloud.google.com
## 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,...
## 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...
## Description Fixes #13569 ## Checklist - [X] Please **merge** this PR for me once it is approved
## 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...
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` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ###...
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [xmltodict](https://redirect.github.com/martinblech/xmltodict) | `==0.13.0` -> `==1.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release...
## 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) -...
## 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...