Skip to content

Commit 310a488

Browse files
authored
Tab character replaced by \t in example files (#472)
1 parent 1658ea2 commit 310a488

File tree

78 files changed

+78
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+78
-78
lines changed

examples/account_management/create_customer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def main(client, manager_customer_id):
8383
f'"{ex.error.code().name}" and includes the following errors:'
8484
)
8585
for error in ex.failure.errors:
86-
print(f' Error with message "{error.message}".')
86+
print(f'\tError with message "{error.message}".')
8787
if error.location:
8888
for field_path_element in error.location.field_path_elements:
8989
print(f"\t\tOn field: {field_path_element.field_name}")

examples/account_management/get_account_hierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _print_account_hierarchy(
206206
f'"{ex.error.code().name}" and includes the following errors:'
207207
)
208208
for error in ex.failure.errors:
209-
print(f' Error with message "{error.message}".')
209+
print(f'\tError with message "{error.message}".')
210210
if error.location:
211211
for field_path_element in error.location.field_path_elements:
212212
print(f"\t\tOn field: {field_path_element.field_name}")

examples/account_management/get_account_information.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def main(client, customer_id):
6868
f'"{ex.error.code().name}" and includes the following errors:'
6969
)
7070
for error in ex.failure.errors:
71-
print(f' Error with message "{error.message}".')
71+
print(f'\tError with message "{error.message}".')
7272
if error.location:
7373
for field_path_element in error.location.field_path_elements:
7474
print(f"\t\tOn field: {field_path_element.field_name}")

examples/account_management/get_change_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def main(client, customer_id):
200200
f'"{ex.error.code().name}" and includes the following errors:'
201201
)
202202
for error in ex.failure.errors:
203-
print(f' Error with message "{error.message}".')
203+
print(f'\tError with message "{error.message}".')
204204
if error.location:
205205
for field_path_element in error.location.field_path_elements:
206206
print(f"\t\tOn field: {field_path_element.field_name}")

examples/account_management/get_pending_invitations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def main(client, customer_id):
8888
f'"{ex.error.code().name}" and includes the following errors:'
8989
)
9090
for error in ex.failure.errors:
91-
print(f' Error with message "{error.message}".')
91+
print(f'\tError with message "{error.message}".')
9292
if error.location:
9393
for field_path_element in error.location.field_path_elements:
9494
print(f"\t\tOn field: {field_path_element.field_name}")

examples/account_management/list_accessible_customers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def main(client):
5454
f'"{ex.error.code().name}" and includes the following errors:'
5555
)
5656
for error in ex.failure.errors:
57-
print(f' Error with message "{error.message}".')
57+
print(f'\tError with message "{error.message}".')
5858
if error.location:
5959
for field_path_element in error.location.field_path_elements:
6060
print(f"\t\tOn field: {field_path_element.field_name}")

examples/advanced_operations/add_ad_group_bid_modifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def main(client, customer_id, ad_group_id, bid_modifier_value):
107107
f'"{ex.error.code().name}" and includes the following errors:'
108108
)
109109
for error in ex.failure.errors:
110-
print(f' Error with message "{error.message}".')
110+
print(f'\tError with message "{error.message}".')
111111
if error.location:
112112
for field_path_element in error.location.field_path_elements:
113113
print(f"\t\tOn field: {field_path_element.field_name}")

examples/advanced_operations/add_app_campaign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def _create_ad_text_asset(client, text):
326326
f'"{ex.error.code().name}" and includes the following errors:'
327327
)
328328
for error in ex.failure.errors:
329-
print(f' Error with message "{error.message}".')
329+
print(f'\tError with message "{error.message}".')
330330
if error.location:
331331
for field_path_element in error.location.field_path_elements:
332332
print(f"\t\tOn field: {field_path_element.field_name}")

examples/advanced_operations/add_display_upload_ad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _create_display_upload_ad_group_ad(
179179
f'"{ex.error.code().name}" and includes the following errors:'
180180
)
181181
for error in ex.failure.errors:
182-
print(f' Error with message "{error.message}".')
182+
print(f'\tError with message "{error.message}".')
183183
if error.location:
184184
for field_path_element in error.location.field_path_elements:
185185
print(f"\t\tOn field: {field_path_element.field_name}")

examples/advanced_operations/add_dynamic_page_feed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def _add_dsa_targeting(client, customer_id, ad_group_resource_name, label):
395395
f'"{ex.error.code().name}" and includes the following errors:'
396396
)
397397
for error in ex.failure.errors:
398-
print(f' Error with message "{error.message}".')
398+
print(f'\tError with message "{error.message}".')
399399
if error.location:
400400
for field_path_element in error.location.field_path_elements:
401401
print(f"\t\tOn field: {field_path_element.field_name}")

0 commit comments

Comments
 (0)