l.r.m.p.ProductRelease(SQLBase) : class documentation

Part of lp.registry.model.productrelease View In Hierarchy

A release of a product.
Method files Undocumented
Method version See IProductRelease.
Method productseries See IProductRelease.
Method product See IProductRelease.
Method displayname See IProductRelease.
Method title See IProductRelease.
Method can_have_release_files See IProductRelease.
Static Method normalizeFilename Undocumented
Method destroySelf See IProductRelease.
Method addReleaseFile See IProductRelease.
Method getFileAliasByName See IProductRelease.
Method getProductReleaseFileByName See IProductRelease.
Method hasReleaseFile See IProductRelease.
Method _getFileObjectAndSize Return an object and length for file_or_data.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
@cachedproperty
def files(self):
Undocumented
@property
def version(self):
See IProductRelease.
@property
def productseries(self):
See IProductRelease.
@property
def product(self):
See IProductRelease.
@property
def displayname(self):
See IProductRelease.
@property
def title(self):
See IProductRelease.
@property
def can_have_release_files(self):
See IProductRelease.
@staticmethod
def normalizeFilename(filename):
Undocumented
def destroySelf(self):
See IProductRelease.
def _getFileObjectAndSize(self, file_or_data):
Return an object and length for file_or_data.
Parametersfile_or_dataA string or a file object or StringIO object.
Returnsfile object or StringIO object and size.
def addReleaseFile(self, filename, file_content, content_type, uploader, signature_filename=None, signature_content=None, file_type=UpstreamFileType.CODETARBALL, description=None, from_api=False):
See IProductRelease.
def getFileAliasByName(self, name):
See IProductRelease.
def getProductReleaseFileByName(self, name):
See IProductRelease.
def hasReleaseFile(self, name):
See IProductRelease.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.