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
The type annotation for when should be Optional[Union[int, float, datetime.datetime]] because, as per the comment, it is valid to pass None to initially trigger frequency seconds from now
You get the type error:
Argument of type "None" cannot be assigned to parameter "when" of type "int | float | datetime" in function "schedule_repeating_event"
The text was updated successfully, but these errors were encountered:
OVOS-workshop/ovos_workshop/skills/base.py
Lines 2062 to 2087 in e8540c0
The type annotation for
when
should beOptional[Union[int, float, datetime.datetime]]
because, as per the comment, it is valid to passNone
to initially triggerfrequency
seconds from nowYou get the type error:
The text was updated successfully, but these errors were encountered: