data/model/oci/tag.py
def delete_tags_for_manifest(manifest):
    """
    Deletes all tags pointing to the given manifest.

    Returns the list of tags deleted.
    """
    query = Tag.select().where(Tag.manifest == manifest)
    query = filter_to_alive_tags(query)
    query = filter_to_visible_tags(query)

    tags = list(query)
    now_ms = get_epoch_timestamp_ms()

    with db_transaction():
        for tag in tags:
            _delete_tag(tag, now_ms)

    return tags

    Deletes all tags pointing to the given manifest.

    Returns the list of tags deleted.
    
Deletes all tags pointing to the given manifest.
Returns the list of tags deleted.
Deletes all tags pointing to the given manifest . Returns the list of tags deleted .
def delete_tags_for_manifest(manifest):
    query = Tag.select().where(Tag.manifest == manifest)
    query = filter_to_alive_tags(query)
    query = filter_to_visible_tags(query)
    tags = list(query)
    now_ms = get_epoch_timestamp_ms()
    with db_transaction():
        for tag in tags:
            _delete_tag(tag, now_ms)
    return tags
def delete_tags_for_manifest ( manifest ) : query = Tag . select ( ) . where ( Tag . manifest == manifest ) query = filter_to_alive_tags ( query ) query = filter_to_visible_tags ( query ) tags = list ( query ) now_ms = get_epoch_timestamp_ms ( ) with db_transaction ( ) : for tag in tags : _delete_tag ( tag , now_ms ) return tags
Deletes all tags pointing to the given manifest.
Deletes all tags pointing to the given manifest .
"""
    Deletes all tags pointing to the given manifest.

    Returns the list of tags deleted.
    """
manifest