l.s.i.s.ISnapBaseSetEdit(Interface) : interface documentation

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

Known subclasses: lp.snappy.interfaces.webservice.ISnapBaseSet

ISnapBaseSet methods that require launchpad.Edit permission.
Method new Create an ISnapBase.
Method setDefault Set the default base.
@call_with(REQUEST_USER)
@export_factory_operation(ISnapBase, 'name''display_name''distro_series''build_channels')
@operation_for_version('devel')
def new(registrant, name, display_name, distro_series, build_channels, date_created=None):
Create an ISnapBase.
@operation_parameters(Reference(_('Base'), True, ISnapBase))
@export_write_operation()
@operation_for_version('devel')
def setDefault(snap_base):
Set the default base.

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

Parameterssnap_baseAn ISnapBase, or None to unset the default base.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.