@property
    def sessionmaker(self):
        global SESSIONMAKERS
        if self.db_url not in SESSIONMAKERS:
            maker = sessionmaker(bind=self.engine)
            SESSIONMAKERS[self.db_url] = maker
        return SESSIONMAKERS[self.db_url]
dataset/ETHPy150Open openstack/stacktach-winchester/winchester/db/interface.py/DBInterface.sessionmaker/original