l.r.i.s.ISourcePackageEdit(Interface) : interface documentation

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

Known subclasses: lp.registry.interfaces.webservice.ISourcePackage

SourcePackage attributes requiring launchpad.Edit.
Method setBranch Set the official branch for the given pocket of this package.
@operation_parameters(Choice(_('Pocket'), True, PackagePublishingPocket), Reference(Interface, _('Branch'), False))
@call_with(REQUEST_USER)
@export_write_operation()
def setBranch(pocket, branch, registrant):
Set the official branch for the given pocket of this package.
ParameterspocketA PackagePublishingPocket.
branchThe branch to set as the official branch.
registrantThe individual who created this link.
ReturnsNone
API Documentation for Launchpad, generated by pydoctor at 2020-02-19 00:00:13.