Ahenk/opt/ahenk/base/scheduler/scheduler_factory.py

12 lines
332 B
Python
Raw Normal View History

2016-04-01 14:11:48 +03:00
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
2016-04-05 17:56:54 +03:00
from base.scheduler.custom.custom_scheduler import CustomScheduler
2016-04-01 14:11:48 +03:00
class SchedulerFactory():
2016-06-22 18:22:07 +03:00
def get_intstance():
2016-04-05 17:28:22 +03:00
return CustomScheduler()
2016-06-22 18:22:07 +03:00
2016-04-05 17:28:22 +03:00
get_intstance = staticmethod(get_intstance)