You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
floats seem to still work so it may just be a type hinting mistake.
def every(interval: int = 1) -> Job
should become
def every(interval: float = 1) -> Job
The text was updated successfully, but these errors were encountered:
The interval is passed into datetime.timedelta, and apparently float arguments are supported. So i guess floats should indeed work just fine. However, i would be hesitant to change the typing without also adding some unit to verify it defiantly works and keeps working in the future. I'm happy to review and merge a pr like that.
floats seem to still work so it may just be a type hinting mistake.
def every(interval: int = 1) -> Job
should become
def every(interval: float = 1) -> Job
The text was updated successfully, but these errors were encountered: