sqlite.py 文件源码

python
阅读 36 收藏 0 点赞 0 评论 0

项目:chocolate 作者: AIworx-Labs 项目源码 文件源码
def all_results(self):
        """Get a list of all entries of the result table. The order is
        undefined.
        """
        # Only way to ensure old db instances are closed is to force garbage collection
        # See dataset note : https://dataset.readthedocs.io/en/latest/api.html#notes
        gc.collect()
        db = dataset.connect(self.url)
        return list(db[self.result_table_name].all())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号