Skip to content

Commit

Permalink
allow for lift_log_limits in simulation request
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Apr 24, 2023
1 parent c1120d5 commit 4e13491
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions algosdk/v2client/models/simulate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ def dictify(self) -> Dict[str, Any]:

class SimulateRequest(object):
txn_groups: List[SimulateRequestTransactionGroup]
lift_lot_limits: bool

def __init__(
self, *, txn_groups: List[SimulateRequestTransactionGroup]
self,
*,
txn_groups: List[SimulateRequestTransactionGroup],
lift_log_limits: bool = False,
) -> None:
self.txn_groups = txn_groups
self.lift_lot_limits = lift_log_limits

def dictify(self) -> Dict[str, Any]:
return {
"txn-groups": [
txn_group.dictify() for txn_group in self.txn_groups
]
],
"lift-log-limits": self.lift_lot_limits,
}

0 comments on commit 4e13491

Please sign in to comment.