l.r.i.d.IDistroSeriesDifferenceCommentSource(Interface) : interface documentation

Part of lp.registry.interfaces.distroseriesdifferencecomment View In Hierarchy

A utility of this interface can be used to create comments.
Method new Create a new comment on a distro series difference.
Method getForDifference Return the IDistroSeriesDifferenceComment with the given id.
Method getForDistroSeries Get comments for distroseries (since since if given).
def new(distro_series_difference, owner, comment):
Create a new comment on a distro series difference.
Parametersdistro_series_differenceThe distribution series difference that is being commented on.
ownerThe person making the comment.
commentThe comment.
ReturnsA new DistroSeriesDifferenceComment object.
def getForDifference(distro_series_difference, id):
Return the IDistroSeriesDifferenceComment with the given id.
def getForDistroSeries(distroseries, since=None):
Get comments for `distroseries` (since `since` if given).

:param distroseries: The `DistroSeries` to find comments for.
:param since: A timestamp.  No comments older than this will be
    returned.
:return: A result set of `DistroSeriesDifferenceComment`s, ordered
    from oldest to newest.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.