Module pipelines.rj_cor.bot_semaforo.schedules
Schedules for cor
Functions
def custom_time(hour: int = 0,
minute: int = 0,
second: int = 0,
timezone: str = 'America/Sao_Paulo')-
Expand source code
def custom_time( hour: int = 0, minute: int = 0, second: int = 0, timezone: str = "America/Sao_Paulo", ): """ Returns a time object with the given hour, minute and second. """ return time(hour, minute, second, tzinfo=pytz.timezone(timezone))
Returns a time object with the given hour, minute and second.