l.r.i.productrelease : module documentation

Part of lp.registry.interfaces

Product release interfaces.
Function file_size_constraint Check constraints.
Function productrelease_file_size_constraint Constraint for a product release file's size.
Function productrelease_signature_size_constraint Constraint for a product release signature's size.
Class UpstreamFileType Upstream File Type
Class ProductReleaseVersionField No class docstring; 1/2 methods documented
Interface IProductReleaseFileEditRestricted IProductReleaseFile properties which require launchpad.Edit.
Interface IProductReleaseFilePublic Public properties for IProductReleaseFile.
Interface IProductReleaseEditRestricted IProductRelease properties which require launchpad.Edit.
Interface IProductReleasePublic Public IProductRelease properties.
Interface IProductReleaseView launchpad.View-restricted IProductRelease properties.
Interface IProductReleaseFileAddForm Schema for adding ProductReleaseFiles to a project.
Interface IProductReleaseSet Auxiliary class for ProductRelease handling.
def file_size_constraint(value, max_size):
Check constraints.

The file cannot be empty and must be <= max_size.

def productrelease_file_size_constraint(value):
Constraint for a product release file's size.
def productrelease_signature_size_constraint(value):
Constraint for a product release signature's size.
API Documentation for Launchpad, generated by pydoctor at 2018-10-19 00:00:06.