Beispiel #1
0
 def __init__(self, config):
     set_logging(config)
     self.config = config
     self.pidfile = os.path.abspath(config['pidfile'])
     self.time_lock = Lock()
     self.teller_queue = JoinableQueue()
     self.session_factory = get_sasession(self.config)
     session = self.session_factory()
Beispiel #2
0
 def __init__(self, config):
     init_environment(config)
     Session = sa.get_sasession(config)
     self.kb = KnowledgeBase(Session(), config)
Beispiel #3
0
 def __init__(self, config):
     init_environment(config)
     Session = sa.get_sasession(config)
     self.kb = KnowledgeBase(Session(), config)