Skip to content

Commit be7e622

Browse files
authored
chore: fix typos (GoogleCloudPlatform#5690)
## Description Fixes #<ISSUE-NUMBER> Note: It's a good idea to open an issue first for discussion. ## Checklist - [x] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md) - [ ] README is updated to include [all relevant information](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#readme-file) - [x] **Tests** pass: `nox -s py-3.6` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup)) - [x] **Lint** pass: `nox -s lint` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup)) - [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones) - [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones) - [x] Please **merge** this PR for me once it is approved. - [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/CODEOWNERS) with the codeowners for this sample
1 parent 6c202f1 commit be7e622

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

composer/rest/get_client_id.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,16 @@ def get_client_id(project_id, location, composer_environment):
5555
# [END composer_get_environment_client_id]
5656

5757

58+
# Usage: python get_client_id.py your_project_id your_region your_environment_name
5859
if __name__ == '__main__':
5960
parser = argparse.ArgumentParser(
6061
description=__doc__,
6162
formatter_class=argparse.RawDescriptionHelpFormatter)
6263
parser.add_argument('project_id', help='Your Project ID.')
6364
parser.add_argument(
64-
'location', help='Region of the Cloud Composer environent.')
65+
'location', help='Region of the Cloud Composer environment.')
6566
parser.add_argument(
66-
'composer_environment', help='Name of the Cloud Composer environent.')
67+
'composer_environment', help='Name of the Cloud Composer environment.')
6768

6869
args = parser.parse_args()
6970
get_client_id(

composer/rest/get_dag_prefix.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ def get_dag_prefix(project_id, location, composer_environment):
4848
# [END composer_get_environment_dag_prefix]
4949

5050

51+
# Usage: python get_dag_prefix.py your_project_id your_region your_environment_name
5152
if __name__ == '__main__':
5253
parser = argparse.ArgumentParser(
5354
description=__doc__,
5455
formatter_class=argparse.RawDescriptionHelpFormatter)
5556
parser.add_argument('project_id', help='Your Project ID.')
5657
parser.add_argument(
57-
'location', help='Region of the Cloud Composer environent.')
58+
'location', help='Region of the Cloud Composer environment.')
5859
parser.add_argument(
59-
'composer_environment', help='Name of the Cloud Composer environent.')
60+
'composer_environment', help='Name of the Cloud Composer environment.')
6061

6162
args = parser.parse_args()
6263
get_dag_prefix(

0 commit comments

Comments
 (0)