l.s.i.w.ISnapBaseSet(ISnapBaseSetEdit) : interface documentation

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

Interface representing the set of bases for snaps.
Method __iter__ Iterate over `ISnapBase`s.
Method __getitem__ Return the ISnapBase with this name.
Method getByName Return the ISnapBase with this name.
Method getDefault Get the default base.
Method getAll Return all `ISnapBase`s.

Inherited from ISnapBaseSetEdit:

Method new Create an ISnapBase.
Method setDefault Set the default base.
def __iter__():
Iterate over `ISnapBase`s.
def __getitem__(name):
Return the ISnapBase with this name.
@operation_parameters(TextLine(_('Base name'), True))
@operation_returns_entry(ISnapBase)
@export_read_operation()
@operation_for_version('devel')
def getByName(name):
Return the ISnapBase with this name.
RaisesNoSuchSnapBaseif no base exists with this name.
@operation_returns_entry(ISnapBase)
@export_read_operation()
@operation_for_version('devel')
def getDefault():
Get the default base.

This will be used to pick the default distro series for snaps that do not specify a base.

@collection_default_content()
def getAll():
Return all `ISnapBase`s.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.