l.b.i.w.ISpecificationSet(IHasSpecifications) : interface documentation

Part of lp.blueprints.interfaces.webservice View In Hierarchy

A container for specifications.
Method empty_list Return an empty set - only exists to keep lazr.restful happy.
Attribute displayname Displayname
Attribute title Title
Attribute coming_sprints The next 5 sprints in the system.
Method specificationCount The total number of blueprints in Launchpad
Method getStatusCountsForProductSeries Return the status counts for blueprints in a series.
Method getByURL Return the specification with the given url.
Method getByName Return the specification with the given name for the given pillar.
Method new Create a new specification.
Method getDependencyDict Return a dictionary mapping specifications to their dependencies.
Method get Return the ISpecification with the given spec_id.

Inherited from IHasSpecifications:

Method specifications Specifications for this target.
Method valid_specifications Valid specifications for this target.
@collection_default_content()
def empty_list():
Return an empty set - only exists to keep lazr.restful happy.
displayname =
Displayname
title =
Title
coming_sprints =
The next 5 sprints in the system.
def specificationCount(user):
The total number of blueprints in Launchpad
def getStatusCountsForProductSeries(product_series):
Return the status counts for blueprints in a series.

Both the nominated and scheduled blueprints are included in the count.

Parametersproduct_seriesProductSeries object.
ReturnsA list of tuples containing (status, count).
def getByURL(url):
Return the specification with the given url.
def getByName(pillar, name):
Return the specification with the given name for the given pillar.
@call_with(REQUEST_USER)
@export_operation_as('createSpecification')
@operation_parameters(Reference(ISpecificationTarget, True, u'The product or distribution context of this specification.'))
@export_factory_operation(ISpecification, 'name''title''specurl''summary''definition_status''assignee''drafter''whiteboard')
@operation_for_version('devel')
def new(name, title, specurl, summary, definition_status, owner, target, approver=None, assignee=None, drafter=None, whiteboard=None, information_type=None):
Create a new specification.
def getDependencyDict(specifications):
Return a dictionary mapping specifications to their dependencies.

The results are ordered by descending priority, ascending dependency name, and id.

Parametersspecificationsa sequence of the ISpecification to look up.
def get(spec_id):
Return the ISpecification with the given spec_id.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.