StageBudget#
- class scikitplot.corpus.StageBudget(max_calls=None, max_seconds=None)[source]#
Deterministic limits on the
retrievestage.- Parameters:
- max_callsint or None, default=None
Queries
retrievemay start (oneindex.searchcall each).Noneis no limit.- max_secondsfloat or None, default=None
Seconds after which
retrievestarts no further query. A running call is not interrupted: its time is reported, and an overrun is in the stage’s details.Noneis no limit.
- Raises:
- TypeError
If a limit has the wrong type (
boolincluded).- ValueError
If a limit is not positive (or not finite).
- Parameters: