

@classmethod
def _session_committed(cls, session):
    if hasattr(session, '_depot_old'):
        for entry in cls._depot_old:
            (depot, fileid) = entry.split('/', 1)
            depot = DepotManager.get(depot)
            depot.delete(fileid)
        del session._depot_old
    if hasattr(session, '_depot_new'):
        del session._depot_new

dataset/ETHPy150Open amol-/depot/depot/fields/sqlalchemy.py _SQLAMutationTracker._session_committed/VarMisuse@28/38 `session`->`cls`