l.h.i.h.IHWVendorNameSet(Interface) : interface documentation

Part of lp.hardwaredb.interfaces.hwdb View In Hierarchy

The set of vendor names.
Method create Create and return a new vendor name.
Method getByName Return the IHWVendorName record for the given name.
def create(name):
Create and return a new vendor name.

An IntegrityError is raised, if the name already exists.

ReturnsA new IHWVendorName instance.
def getByName(name):
Return the IHWVendorName record for the given name.
ParametersnameThe vendor name.
ReturnsAn IHWVendorName instance where IHWVendorName.name==name or None, if no such instance exists.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.