l.s.l.t.f.InstrumentedLibraryFileAlias(LibraryFileAlias) : class documentation

Part of lp.services.librarianserver.testing.fake View In Hierarchy

A ILibraryFileAlias implementation that fakes library access.
Method checkCommitted Raise an error if this file has not been committed yet.
Method open See ILibraryFileAlias.
Method read See ILibraryFileAlias.

Inherited from LibraryFileAlias:

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 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 (via LibraryFileAlias):

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
def checkCommitted(self):
Raise an error if this file has not been committed yet.
def open(self, timeout=LIBRARIAN_SERVER_DEFAULT_TIMEOUT):
See ILibraryFileAlias.
def read(self, chunksize=None, timeout=LIBRARIAN_SERVER_DEFAULT_TIMEOUT):
See ILibraryFileAlias.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.