@util.deprecated("0.7", "The non-weak-referencing identity map "
                     "feature is no longer needed.")
    def prune(self):
        return self.identity_map.prune()
Remove unreferenced instances cached in the identity map.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/session.py/Session.prune