@@ -55,16 +55,15 @@ def create(
5555 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
5656 ) -> BacktestCreateResponse :
5757 """
58- Initiates a request to asynchronously generate a backtest for an authorization
59- rule. During backtesting, both the active version (if one exists) and the draft
60- version of the Authorization Rule are evaluated by replaying historical
61- transaction data against the rule's conditions. This process allows customers to
62- simulate and understand the effects of proposed rule changes before deployment.
63- The generated backtest report provides detailed results showing whether the
64- draft version of the Auth Rule would have approved or declined historical
65- transactions which were processed during the backtest period. These reports help
66- evaluate how changes to rule configurations might affect overall transaction
67- approval rates.
58+ Initiates a request to asynchronously generate a backtest for an Auth rule.
59+ During backtesting, both the active version (if one exists) and the draft
60+ version of the Auth Rule are evaluated by replaying historical transaction data
61+ against the rule's conditions. This process allows customers to simulate and
62+ understand the effects of proposed rule changes before deployment. The generated
63+ backtest report provides detailed results showing whether the draft version of
64+ the Auth Rule would have approved or declined historical transactions which were
65+ processed during the backtest period. These reports help evaluate how changes to
66+ rule configurations might affect overall transaction approval rates.
6867
6968 The generated backtest report will be delivered asynchronously through a webhook
7069 with `event_type` = `auth_rules.backtest_report.created`. See the docs on
@@ -124,7 +123,7 @@ def retrieve(
124123 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
125124 ) -> BacktestResults :
126125 """
127- Returns the backtest results of an authorization rule (if available).
126+ Returns the backtest results of an Auth rule (if available).
128127
129128 Backtesting is an asynchronous process that requires time to complete. If a
130129 customer retrieves the backtest results using this endpoint before the report is
@@ -140,8 +139,8 @@ def retrieve(
140139 also always represent the configuration of the rule at the time requests are
141140 made to this endpoint. For example, the results for `current_version` in the
142141 served backtest report will be consistent with which version of the rule is
143- currently activated in the Auth Stream , regardless of which version of the rule
144- was active in the Auth Stream at the time a backtest is requested.
142+ currently activated in the respective event stream , regardless of which version
143+ of the rule was active in the event stream at the time a backtest is requested.
145144
146145 Args:
147146 extra_headers: Send extra headers
@@ -201,16 +200,15 @@ async def create(
201200 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
202201 ) -> BacktestCreateResponse :
203202 """
204- Initiates a request to asynchronously generate a backtest for an authorization
205- rule. During backtesting, both the active version (if one exists) and the draft
206- version of the Authorization Rule are evaluated by replaying historical
207- transaction data against the rule's conditions. This process allows customers to
208- simulate and understand the effects of proposed rule changes before deployment.
209- The generated backtest report provides detailed results showing whether the
210- draft version of the Auth Rule would have approved or declined historical
211- transactions which were processed during the backtest period. These reports help
212- evaluate how changes to rule configurations might affect overall transaction
213- approval rates.
203+ Initiates a request to asynchronously generate a backtest for an Auth rule.
204+ During backtesting, both the active version (if one exists) and the draft
205+ version of the Auth Rule are evaluated by replaying historical transaction data
206+ against the rule's conditions. This process allows customers to simulate and
207+ understand the effects of proposed rule changes before deployment. The generated
208+ backtest report provides detailed results showing whether the draft version of
209+ the Auth Rule would have approved or declined historical transactions which were
210+ processed during the backtest period. These reports help evaluate how changes to
211+ rule configurations might affect overall transaction approval rates.
214212
215213 The generated backtest report will be delivered asynchronously through a webhook
216214 with `event_type` = `auth_rules.backtest_report.created`. See the docs on
@@ -270,7 +268,7 @@ async def retrieve(
270268 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
271269 ) -> BacktestResults :
272270 """
273- Returns the backtest results of an authorization rule (if available).
271+ Returns the backtest results of an Auth rule (if available).
274272
275273 Backtesting is an asynchronous process that requires time to complete. If a
276274 customer retrieves the backtest results using this endpoint before the report is
@@ -286,8 +284,8 @@ async def retrieve(
286284 also always represent the configuration of the rule at the time requests are
287285 made to this endpoint. For example, the results for `current_version` in the
288286 served backtest report will be consistent with which version of the rule is
289- currently activated in the Auth Stream , regardless of which version of the rule
290- was active in the Auth Stream at the time a backtest is requested.
287+ currently activated in the respective event stream , regardless of which version
288+ of the rule was active in the event stream at the time a backtest is requested.
291289
292290 Args:
293291 extra_headers: Send extra headers
0 commit comments