def METHOD_NAME(cls, identity, link_type):
    (cls.query
     .filter(cls.link_type == link_type)
     .filter(getattr(cls, cls._identity) == identity)
     .delete('fetch'))
    cls.refresh_cache(identity)