Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 3708a8a

Browse files
chore: add sphinx.ext.doctest (#93)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/5da1d2aa-a963-44d1-952a-3ed428de6719/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@27f4406
1 parent e329f49 commit 3708a8a

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"sphinx.ext.autosummary",
4040
"sphinx.ext.intersphinx",
4141
"sphinx.ext.coverage",
42+
"sphinx.ext.doctest",
4243
"sphinx.ext.napoleon",
4344
"sphinx.ext.todo",
4445
"sphinx.ext.viewcode",

google/cloud/asset_v1/services/asset_service/async_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ async def batch_get_assets_history(
226226
maximum=60.0,
227227
multiplier=1.3,
228228
predicate=retries.if_exception_type(
229-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
229+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
230230
),
231231
),
232232
default_timeout=60.0,
@@ -395,7 +395,7 @@ async def get_feed(
395395
maximum=60.0,
396396
multiplier=1.3,
397397
predicate=retries.if_exception_type(
398-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
398+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
399399
),
400400
),
401401
default_timeout=60.0,
@@ -476,7 +476,7 @@ async def list_feeds(
476476
maximum=60.0,
477477
multiplier=1.3,
478478
predicate=retries.if_exception_type(
479-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
479+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
480480
),
481481
),
482482
default_timeout=60.0,
@@ -630,7 +630,7 @@ async def delete_feed(
630630
maximum=60.0,
631631
multiplier=1.3,
632632
predicate=retries.if_exception_type(
633-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
633+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
634634
),
635635
),
636636
default_timeout=60.0,
@@ -780,7 +780,7 @@ async def search_all_resources(
780780
maximum=60.0,
781781
multiplier=1.3,
782782
predicate=retries.if_exception_type(
783-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
783+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
784784
),
785785
),
786786
default_timeout=15.0,
@@ -919,7 +919,7 @@ async def search_all_iam_policies(
919919
maximum=60.0,
920920
multiplier=1.3,
921921
predicate=retries.if_exception_type(
922-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
922+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
923923
),
924924
),
925925
default_timeout=15.0,

google/cloud/asset_v1/services/asset_service/transports/base.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def _prep_wrapped_messages(self, client_info):
117117
maximum=60.0,
118118
multiplier=1.3,
119119
predicate=retries.if_exception_type(
120-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
120+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
121121
),
122122
),
123123
default_timeout=60.0,
@@ -133,7 +133,7 @@ def _prep_wrapped_messages(self, client_info):
133133
maximum=60.0,
134134
multiplier=1.3,
135135
predicate=retries.if_exception_type(
136-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
136+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
137137
),
138138
),
139139
default_timeout=60.0,
@@ -146,7 +146,7 @@ def _prep_wrapped_messages(self, client_info):
146146
maximum=60.0,
147147
multiplier=1.3,
148148
predicate=retries.if_exception_type(
149-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
149+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
150150
),
151151
),
152152
default_timeout=60.0,
@@ -162,7 +162,7 @@ def _prep_wrapped_messages(self, client_info):
162162
maximum=60.0,
163163
multiplier=1.3,
164164
predicate=retries.if_exception_type(
165-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
165+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
166166
),
167167
),
168168
default_timeout=60.0,
@@ -175,7 +175,7 @@ def _prep_wrapped_messages(self, client_info):
175175
maximum=60.0,
176176
multiplier=1.3,
177177
predicate=retries.if_exception_type(
178-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
178+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
179179
),
180180
),
181181
default_timeout=15.0,
@@ -188,7 +188,7 @@ def _prep_wrapped_messages(self, client_info):
188188
maximum=60.0,
189189
multiplier=1.3,
190190
predicate=retries.if_exception_type(
191-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
191+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
192192
),
193193
),
194194
default_timeout=15.0,

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "dba48bb9bc6959c232bec9150ac6313b608fe7bd"
22+
"sha": "27f4406999b1eee29e04b09b2423a8e4646c7e24"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "dba48bb9bc6959c232bec9150ac6313b608fe7bd"
29+
"sha": "27f4406999b1eee29e04b09b2423a8e4646c7e24"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)