Skip to content

RateBlock

autogen.beta.network.rule.RateBlock dataclass #

RateBlock(per_minute=0, burst=0)

Token-bucket rate limit values.

Stored on the rule but not enforced by the in-process hub — per_minute = 0 keeps the limiter disabled by default.

per_minute class-attribute instance-attribute #

per_minute = 0

burst class-attribute instance-attribute #

burst = 0