def shot_end_data(shot, role):
    """Return the data for endframe

    :param shot: the shot that holds the data
    :type shot: :class:`jukeboxcore.djadapter.models.Shot`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the end
    :rtype: depending on role
    :raises: None
    """
    if role == QtCore.Qt.DisplayRole:
        return str(shot.endframe)
Return the data for endframe

    :param shot: the shot that holds the data
    :type shot: :class:`jukeboxcore.djadapter.models.Shot`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the end
    :rtype: depending on role
    :raises: None