l.r.i.m.IMilestoneSet(Interface) : interface documentation

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

An set provides access `IMilestone`s.
Method __iter__ Return an iterator over all the milestones for a thing.
Method get Get a milestone by its id.
Method getByIds Get the milestones for milestoneids.
Method getByNameAndProduct Get a milestone by its name and product.
Method getByNameAndDistribution Get a milestone by its name and distribution.
Method getVisibleMilestones Return all visible milestones.
def __iter__():
Return an iterator over all the milestones for a thing.
def get(milestoneid):
Get a milestone by its id.

If the milestone with that ID is not found, a NotFoundError will be raised.

def getByIds(milestoneids):
Get the milestones for milestoneids.
def getByNameAndProduct(name, product, default=None):
Get a milestone by its name and product.

If no milestone is found, default will be returned.

def getByNameAndDistribution(name, distribution, default=None):
Get a milestone by its name and distribution.

If no milestone is found, default will be returned.

def getVisibleMilestones():
Return all visible milestones.
API Documentation for Launchpad, generated by pydoctor at 2019-12-13 00:00:05.