data/model/oci/tag.py
def _filter_has_repository_event(query, event):
    """ Filters the query by ensuring the repositories returned have the given event.
    
        NOTE: This is for legacy support in the old security notification worker and should
        be removed once that code is no longer necessary.
    """
    return (
        query.join(Repository)
        .join(RepositoryNotification)
        .where(RepositoryNotification.event == event)
    )
 Filters the query by ensuring the repositories returned have the given event.
    
        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 repositories returned have the given event.
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 repositories returned have the given event . NOTE : This is for legacy support in the old security notification worker and should be removed once that code is no longer necessary .
def _filter_has_repository_event(query, event):
    return (
        query.join(Repository)
        .join(RepositoryNotification)
        .where(RepositoryNotification.event == event)
    )
def _filter_has_repository_event ( query , event ) : return ( query . join ( Repository ) . join ( RepositoryNotification ) . where ( RepositoryNotification . event == event ) )
Filters the query by ensuring the repositories returned have the given event.
Filters the query by ensuring the repositories returned have the given event .
""" Filters the query by ensuring the repositories returned have the given event.
    
        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