Skip to content

Commit 96a4a8c

Browse files
fix(types): make start/end required, remove auth_rule_token in SimulationParameters
1 parent fc13bed commit 96a4a8c

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 189
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-215dc6b4a60a59c6ab935684d1c8a8901e970a7ea9cce62b7dba51d9ec161318.yml
3-
openapi_spec_hash: 21ea7542d2222e3c825b8c337ddf4a99
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-d67717d651ba08e30f82e42f4468cfb46f87470f970ae1e19a7c0dc16c275a87.yml
3+
openapi_spec_hash: 969a03848267a110e83a696547b7f2a8
44
config_hash: 2e69ca9699ec18d9d7337604821d3091

src/lithic/types/auth_rules/v2/backtest_results.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ class Results(BaseModel):
1616

1717

1818
class SimulationParameters(BaseModel):
19-
auth_rule_token: Optional[str] = None
20-
"""Auth Rule Token"""
19+
end: datetime
20+
"""The end time of the simulation"""
2121

22-
end: Optional[datetime] = None
23-
"""The end time of the simulation."""
24-
25-
start: Optional[datetime] = None
26-
"""The start time of the simulation."""
22+
start: datetime
23+
"""The start time of the simulation"""
2724

2825

2926
class BacktestResults(BaseModel):

0 commit comments

Comments
 (0)