Skip to content

Commit 82adb91

Browse files
holtskinnerdandhlee
authored andcommitted
Fixed Typo in Comments
- `other than 'us', e.g.:` -> `other than 'us'.`
1 parent ab01937 commit 82adb91

28 files changed

+29
-29
lines changed

documentai/snippets/batch_process_documents_processor_version_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def batch_process_documents_processor_version(
4747
timeout: int = 400,
4848
):
4949

50-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
50+
# You must set the api_endpoint if you use a location other than 'us'.
5151
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
5252

5353
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/batch_process_documents_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def batch_process_documents(
4545
timeout: int = 400,
4646
):
4747

48-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
48+
# You must set the api_endpoint if you use a location other than 'us'.
4949
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
5050

5151
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/cancel_operation_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828

2929
def cancel_operation_sample(location: str, operation_name: str):
30-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
30+
# You must set the api_endpoint if you use a location other than 'us'.
3131
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3232

3333
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/create_processor_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
def create_processor_sample(
2929
project_id: str, location: str, processor_display_name: str, processor_type: str
3030
):
31-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
31+
# You must set the api_endpoint if you use a location other than 'us'.
3232
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3333

3434
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/delete_processor_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
def delete_processor_sample(project_id: str, location: str, processor_id: str):
29-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
29+
# You must set the api_endpoint if you use a location other than 'us'.
3030
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3131

3232
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/delete_processor_version_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
def delete_processor_version_sample(
3131
project_id: str, location: str, processor_id: str, processor_version_id: str
3232
):
33-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
33+
# You must set the api_endpoint if you use a location other than 'us'.
3434
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3535

3636
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/deploy_processor_version_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
def deploy_processor_version_sample(
3030
project_id: str, location: str, processor_id: str, processor_version_id: str
3131
):
32-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
32+
# You must set the api_endpoint if you use a location other than 'us'.
3333
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3434

3535
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/disable_processor_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
def disable_processor_sample(project_id: str, location: str, processor_id: str):
29-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
29+
# You must set the api_endpoint if you use a location other than 'us'.
3030
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3131

3232
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/enable_processor_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
def enable_processor_sample(project_id: str, location: str, processor_id: str):
29-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
29+
# You must set the api_endpoint if you use a location other than 'us'.
3030
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
3131

3232
client = documentai.DocumentProcessorServiceClient(client_options=opts)

documentai/snippets/fetch_processor_types_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
def fetch_processor_types_sample(project_id: str, location: str):
27-
# You must set the api_endpoint if you use a location other than 'us', e.g.:
27+
# You must set the api_endpoint if you use a location other than 'us'.
2828
opts = ClientOptions(api_endpoint=f"{location}-documentai.googleapis.com")
2929

3030
client = documentai.DocumentProcessorServiceClient(client_options=opts)

0 commit comments

Comments
 (0)