We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f86f7d commit 3c7a44fCopy full SHA for 3c7a44f
src/flareio/ratelimit.py
@@ -43,7 +43,7 @@ def _unlimited(cls) -> "Limiter":
43
return cls(tick_interval=timedelta(seconds=0))
44
45
@classmethod
46
- def from_seconds(cls, tick_interval_seconds: int) -> "Limiter":
+ def from_seconds(cls, tick_interval_seconds: float) -> "Limiter":
47
return cls(
48
tick_interval=timedelta(
49
seconds=tick_interval_seconds,
0 commit comments