@@ -31,9 +31,7 @@ def get_accounts_for_enhanced_balance_sheet(self, request: operations.GetAccount
3131
3232 retry_config = retries
3333 if retry_config is None :
34- retry_config = utils .RetryConfig ('backoff' , True )
35- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
36-
34+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
3735
3836 def do_request ():
3937 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -77,9 +75,7 @@ def get_accounts_for_enhanced_profit_and_loss(self, request: operations.GetAccou
7775
7876 retry_config = retries
7977 if retry_config is None :
80- retry_config = utils .RetryConfig ('backoff' , True )
81- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
82-
78+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
8379
8480 def do_request ():
8581 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -121,9 +117,7 @@ def get_commerce_customer_retention_metrics(self, request: operations.GetCommerc
121117
122118 retry_config = retries
123119 if retry_config is None :
124- retry_config = utils .RetryConfig ('backoff' , True )
125- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
126-
120+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
127121
128122 def do_request ():
129123 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -165,9 +159,7 @@ def get_commerce_lifetime_value_metrics(self, request: operations.GetCommerceLif
165159
166160 retry_config = retries
167161 if retry_config is None :
168- retry_config = utils .RetryConfig ('backoff' , True )
169- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
170-
162+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
171163
172164 def do_request ():
173165 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -209,9 +201,7 @@ def get_commerce_orders_metrics(self, request: operations.GetCommerceOrdersMetri
209201
210202 retry_config = retries
211203 if retry_config is None :
212- retry_config = utils .RetryConfig ('backoff' , True )
213- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
214-
204+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
215205
216206 def do_request ():
217207 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -253,9 +243,7 @@ def get_commerce_refunds_metrics(self, request: operations.GetCommerceRefundsMet
253243
254244 retry_config = retries
255245 if retry_config is None :
256- retry_config = utils .RetryConfig ('backoff' , True )
257- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
258-
246+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
259247
260248 def do_request ():
261249 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -297,9 +285,7 @@ def get_commerce_revenue_metrics(self, request: operations.GetCommerceRevenueMet
297285
298286 retry_config = retries
299287 if retry_config is None :
300- retry_config = utils .RetryConfig ('backoff' , True )
301- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
302-
288+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
303289
304290 def do_request ():
305291 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -343,9 +329,7 @@ def get_enhanced_balance_sheet(self, request: operations.GetEnhancedBalanceSheet
343329
344330 retry_config = retries
345331 if retry_config is None :
346- retry_config = utils .RetryConfig ('backoff' , True )
347- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
348-
332+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
349333
350334 def do_request ():
351335 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -391,9 +375,7 @@ def get_enhanced_cash_flow_transactions(self, request: operations.GetEnhancedCas
391375
392376 retry_config = retries
393377 if retry_config is None :
394- retry_config = utils .RetryConfig ('backoff' , True )
395- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
396-
378+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
397379
398380 def do_request ():
399381 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -437,9 +419,7 @@ def get_enhanced_financial_metrics(self, request: operations.GetEnhancedFinancia
437419
438420 retry_config = retries
439421 if retry_config is None :
440- retry_config = utils .RetryConfig ('backoff' , True )
441- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
442-
422+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
443423
444424 def do_request ():
445425 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -477,9 +457,7 @@ def get_enhanced_invoices_report(self, request: operations.GetEnhancedInvoicesRe
477457
478458 retry_config = retries
479459 if retry_config is None :
480- retry_config = utils .RetryConfig ('backoff' , True )
481- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
482-
460+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
483461
484462 def do_request ():
485463 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -523,9 +501,7 @@ def get_enhanced_profit_and_loss(self, request: operations.GetEnhancedProfitAndL
523501
524502 retry_config = retries
525503 if retry_config is None :
526- retry_config = utils .RetryConfig ('backoff' , True )
527- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
528-
504+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
529505
530506 def do_request ():
531507 return client .request ('GET' , url , params = query_params , headers = headers )
@@ -566,9 +542,7 @@ def get_recurring_revenue_metrics(self, request: operations.GetRecurringRevenueM
566542
567543 retry_config = retries
568544 if retry_config is None :
569- retry_config = utils .RetryConfig ('backoff' , True )
570- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
571-
545+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
572546
573547 def do_request ():
574548 return client .request ('GET' , url , headers = headers )
@@ -609,9 +583,7 @@ def request_recurring_revenue_metrics(self, request: operations.RequestRecurring
609583
610584 retry_config = retries
611585 if retry_config is None :
612- retry_config = utils .RetryConfig ('backoff' , True )
613- retry_config .backoff = utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 )
614-
586+ retry_config = utils .RetryConfig ('backoff' , utils .BackoffStrategy (500 , 60000 , 1.5 , 3600000 ), True )
615587
616588 def do_request ():
617589 return client .request ('GET' , url , headers = headers )
0 commit comments