def enableSourceTwitch(self) -> SchedulerJobModel:
    s = SchedulerJobModel(functionName=WorkerService(TwitchWorkerService()).init, trigger=SchedulerTriggerEnum.INTERVAL, minutes=30)
    if (self._isDebug is True):
        s.trigger = SchedulerTriggerEnum.NONE
    if (self._env.getValue(EnvEnum.TWITCHEANBLED) is False):
        s.enabled = False
    return s
def enableSourceTwitch(self) -> SchedulerJobModel:
    s = SchedulerJobModel(functionName=WorkerService(TwitchWorkerService()).init, trigger=SchedulerTriggerEnum.INTERVAL, minutes=30)
    if (self._isDebug is True):
        s.trigger = SchedulerTriggerEnum.NONE
    if (self._env.getValue(EnvEnum.TWITCHEANBLED) is False):
        s.enabled = False
    return s