def enableSourceYoutube(self) -> SchedulerJobModel:
    s = SchedulerJobModel(functionName=WorkerService(YoutubeWorkerService()).init, trigger=SchedulerTriggerEnum.INTERVAL, minutes=35)
    if (self._isDebug is True):
        s.trigger = SchedulerTriggerEnum.NONE
    if (self._env.getValue(EnvEnum.YOUTUBEENABLED) is False):
        s.enabled = False
    return s
def enableSourceYoutube(self) -> SchedulerJobModel:
    s = SchedulerJobModel(functionName=WorkerService(YoutubeWorkerService()).init, trigger=SchedulerTriggerEnum.INTERVAL, minutes=35)
    if (self._isDebug is True):
        s.trigger = SchedulerTriggerEnum.NONE
    if (self._env.getValue(EnvEnum.YOUTUBEENABLED) is False):
        s.enabled = False
    return s