At most limit spent, a request's tokens costing price(tokens).
Attributes#
| Attribute | Type | Description |
|---|---|---|
limit | Decimal | |
price | Callable[[Tokens], Decimal] |
Functions#
__init__#
__init__(limit, price) -> None| Parameter | Type | Description |
|---|---|---|
limit | Decimal | |
price | Callable[[Tokens], Decimal] |