You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(workflows): refactor sample 'workflows_api_quickstart' to comply with the Samples Style Guide and fix tests (#13261)
* fix(workflows): refactor sample to comply with the Samples Style Guide
- Take out unneccesary `os.getenv`s and the return from the sample
- As the `__main__` entry point is requested to stay in the script, but not in the sample, it was adjusted accordingly
* fix(workflows): adjust function definition for line length
* fix(workflows): fix grammar in comments
* fix(workflows): allow testing in Python 3.9+, and update to latest google-cloud-workflows library
* test(workflows): move test from main to conftest, and add backoff to workflow creation
* fix(workflows): fix header in conftest.py
* fix(workflows): add api_core.retry as suggested in https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#retry-rpcs
* fix(workflows): add exponential backoff to main_test
* fix(workflows): add missing period to comment
* fix(workflows): apply Camie Kim's feedback
update the copyright year
line 31: change "The Google Cloud project id" to "The ID of the Google Cloud project"
line 33: add a period
line 50: add one more space before the line comment per https://google.github.io/styleguide/pyguide#385-block-and-inline-comments
line 51: add a line comment (# For example: myFirstWorkflow)
* fix(workflows): add two missing spaces before in-line comment
0 commit comments