l.r.m.c.CodeOfConduct : class documentation

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

CoC class model.

A set of properties allow us to properly handle the CoC stored in the filesystem, so it's not a database class.

Method __init__ Undocumented
Method title Return preformatted title (config_prefix + version).
Method content Return the content of the CoC file.
Method current Is this the current release of the Code of Conduct?
Method datereleased Undocumented
Method _filename Rebuild filename according to the local version.
def __init__(self, version):
Undocumented
@property
def title(self):
Return preformatted title (config_prefix + version).
@property
def content(self):
Return the content of the CoC file.
@property
def current(self):
Is this the current release of the Code of Conduct?
@property
def _filename(self):
Rebuild filename according to the local version.
@property
def datereleased(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.