예제 #1
0
    def experiment(self):
        from dlgr.demos.bartlett1932.experiment import Bartlett1932

        yield Bartlett1932()
예제 #2
0
    def demo(self, db_session, bartlett_config):
        from dlgr.demos.bartlett1932.experiment import Bartlett1932

        instance = Bartlett1932(db_session)
        yield instance
예제 #3
0
 def _make_one(self):
     from dlgr.demos.bartlett1932.experiment import Bartlett1932
     return Bartlett1932(self._db)
예제 #4
0
    def demo(self, db_session):
        from dlgr.demos.bartlett1932.experiment import Bartlett1932

        get_config().load()
        instance = Bartlett1932(db_session)
        return instance