Skip to main content

window_start

Method
This is a method of the WindowedSpendBudgetPolicy class in the protocols module.
Start timestamp of the current window for a now timestamp. Helper for the wrapper so it can query the durable sink for spent_usd over the same window the policy enforces.

Signature

Parameters

float
required
No description available.

Returns

float
The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4439