Esempio n. 1
0
    def initialize(self, **kwargs):
        self.name = 'pending_api'
        self.config = config.Config()

        self.params = kwargs.get("params")
        udq = UnmanicDataQueues()
        self.unmanic_data_queues = udq.get_unmanic_data_queues()
Esempio n. 2
0
 def initialize(self, **kwargs):
     self.name = 'plugins_api'
     self.config = kwargs.get("settings")
     self.params = kwargs.get("params")
     udq = UnmanicDataQueues()
     self.unmanic_data_queues = udq.get_unmanic_data_queues()
     self.session = session.Session()
Esempio n. 3
0
 def __init__(self, *args, **kwargs):
     self.name = 'UnmanicWebsocketHandler'
     self.config = config.Config()
     self.server_id = str(uuid.uuid4())
     udq = UnmanicDataQueues()
     urt = UnmanicRunningTreads()
     self.data_queues = udq.get_unmanic_data_queues()
     self.foreman = urt.get_unmanic_running_thread('foreman')
     self.session = session.Session()
     super(UnmanicWebsocketHandler, self).__init__(*args, **kwargs)
Esempio n. 4
0
 def initialize(self, **kwargs):
     self.name = 'plugins_api'
     self.params = kwargs.get("params")
     udq = UnmanicDataQueues()
     self.unmanic_data_queues = udq.get_unmanic_data_queues()
Esempio n. 5
0
 def initialize(self, **kwargs):
     self.params = kwargs.get("params")
     udq = UnmanicDataQueues()
     urt = UnmanicRunningTreads()
     self.unmanic_data_queues = udq.get_unmanic_data_queues()
     self.foreman = urt.get_unmanic_running_thread('foreman')
Esempio n. 6
0
 def initialize(self, **kwargs):
     self.session = session.Session()
     self.params = kwargs.get("params")
     udq = UnmanicDataQueues()
     self.unmanic_data_queues = udq.get_unmanic_data_queues()
     self.config = config.Config()