We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba780a commit 2b09578Copy full SHA for 2b09578
codegen/templates/README.mustache
@@ -491,9 +491,9 @@ NOTE: the retry strategy applies to `DELETE`, `GET`, `HEAD`, `OPTIONS`, `PUT`, `
491
492
```
493
self.retry_strategy = Retry(
494
- total=5, # Number of retries
495
- backoff_factor=2, # Exponential backoff factor (1s, 2s, 4s, etc.)
496
- status_forcelist=[429, 500, 502, 503, 504], # Retry only on these status codes
+ total=5, # Number of retries
+ backoff_factor=2, # Exponential backoff factor (1s, 2s, 4s, etc.)
+ status_forcelist=[429, 500, 502, 503, 504], # Retry only on these status codes
497
)
498
499
@@ -510,7 +510,7 @@ from urllib3.util.retry import Retry
510
configuration = asana.Configuration()
511
configuration.retry_strategy = Retry(
512
total=10, # Maximum number of retries
513
- backoff_factor=4, # Exponential backoff factor (1s, 2s, 4s, etc.)
+ backoff_factor=4, # Exponential backoff factor (1s, 2s, 4s, etc.)
514
515
...
516
codegen/templates/configuration.mustache
@@ -106,9 +106,9 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
106
107
# Retry Settings
108
109
110
111
112
113
114
@property
0 commit comments