data/model/oci/tag.py
def filter_tags_have_repository_event(query, event):
    """ Filters the query by ensuring the tags live in a repository that has the given
        event. Also orders the results by lifetime_start_ms.
    
        NOTE: This is for legacy support in the old security notification worker and should
        be removed once that code is no longer necessary.
    """
    query = _filter_has_repository_event(query, event)
    query = query.switch(Tag).order_by(Tag.lifetime_start_ms.desc())
    return query
 Filters the query by ensuring the tags live in a repository that has the given
        event. Also orders the results by lifetime_start_ms.
    
        NOTE: This is for legacy support in the old security notification worker and should
        be removed once that code is no longer necessary.
    
Filters the query by ensuring the tags live in a repository that has the given
event. Also orders the results by lifetime_start_ms.

This is for legacy support in the old security notification worker and should
be removed once that code is no longer necessary.
Filters the query by ensuring the tags live in a repository that has the given event . Also orders the results by lifetime_start_ms . This is for legacy support in the old security notification worker and should be removed once that code is no longer necessary .
def filter_tags_have_repository_event(query, event):
    query = _filter_has_repository_event(query, event)
    query = query.switch(Tag).order_by(Tag.lifetime_start_ms.desc())
    return query
def filter_tags_have_repository_event ( query , event ) : query = _filter_has_repository_event ( query , event ) query = query . switch ( Tag ) . order_by ( Tag . lifetime_start_ms . desc ( ) ) return query
Filters the query by ensuring the tags live in a repository that has the given
event.
Filters the query by ensuring the tags live in a repository that has the given event .
""" Filters the query by ensuring the tags live in a repository that has the given
        event. Also orders the results by lifetime_start_ms.
    
        NOTE: This is for legacy support in the old security notification worker and should
        be removed once that code is no longer necessary.
    """
query
event