l.s.l.m.LibraryFileAlias(SQLBase) : class documentation

Part of lp.services.librarian.model View In Hierarchy

Known subclasses: lp.services.librarianserver.testing.fake.InstrumentedLibraryFileAlias

A filename and mimetype that we can serve some given content with.
Method client Return the librarian client to use to retrieve that file.
Method http_url See ILibraryFileAlias.http_url
Method https_url See ILibraryFileAlias.https_url
Method private_url See ILibraryFileAlias.https_url
Method getURL See ILibraryFileAlias.getURL
Method open See ILibraryFileAlias.
Method read See ILibraryFileAlias.
Method close Undocumented
Method last_downloaded See ILibraryFileAlias.
Method updateDownloadCount See ILibraryFileAlias.
Method deleted Undocumented
Method __storm_invalidated__ Make sure that the file is closed across transaction boundary.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Class Method _get_store Undocumented
@property
def client(self):
Return the librarian client to use to retrieve that file.
@property
def http_url(self):
See ILibraryFileAlias.http_url
@property
def https_url(self):
See ILibraryFileAlias.https_url
@property
def private_url(self):
See ILibraryFileAlias.https_url
def getURL(self, secure=True, include_token=False):
See ILibraryFileAlias.getURL
def open(self, timeout=LIBRARIAN_SERVER_DEFAULT_TIMEOUT):
See ILibraryFileAlias.
def read(self, chunksize=None, timeout=LIBRARIAN_SERVER_DEFAULT_TIMEOUT):
See ILibraryFileAlias.
def close(self):
Undocumented
@property
def last_downloaded(self):
See ILibraryFileAlias.
def updateDownloadCount(self, day, country, count):
See ILibraryFileAlias.
@property
def deleted(self):
Undocumented
def __storm_invalidated__(self):
Make sure that the file is closed across transaction boundary.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.