Skip to content

Commit 2b09578

Browse files
committed
Fix spacing
1 parent dba780a commit 2b09578

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

codegen/templates/README.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ NOTE: the retry strategy applies to `DELETE`, `GET`, `HEAD`, `OPTIONS`, `PUT`, `
491491

492492
```
493493
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
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
497497
)
498498
```
499499

@@ -510,7 +510,7 @@ from urllib3.util.retry import Retry
510510
configuration = asana.Configuration()
511511
configuration.retry_strategy = Retry(
512512
total=10, # Maximum number of retries
513-
backoff_factor=4, # Exponential backoff factor (1s, 2s, 4s, etc.)
513+
backoff_factor=4, # Exponential backoff factor (1s, 2s, 4s, etc.)
514514
)
515515
...
516516
```

codegen/templates/configuration.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
106106

107107
# Retry Settings
108108
self.retry_strategy = Retry(
109-
total=5, # Number of retries
110-
backoff_factor=2, # Exponential backoff factor (1s, 2s, 4s, etc.)
111-
status_forcelist=[429, 500, 502, 503, 504], # Retry only on these status codes
109+
total=5, # Number of retries
110+
backoff_factor=2, # Exponential backoff factor (1s, 2s, 4s, etc.)
111+
status_forcelist=[429, 500, 502, 503, 504], # Retry only on these status codes
112112
)
113113

114114
@property

0 commit comments

Comments
 (0)