

@classmethod
def remove_all(cls, card):
    q = cls.query
    q = q.filter_by(card=card)
    q.delete()

dataset/ETHPy150Open Net-ng/kansha/kansha/card_addons/gallery/models.py DataAsset.remove_all/original