CustomFileCache

class app.util.requests.filecache.CustomFileCache[source]

Bases: FileCache

Custom FileCache that uses FileDict for storing responses and redirects.

This class is a workaround for the fact that the default FileCache uses SQLite. While that is desirable for most use cases, it is not suitable for unit tests where we want to be able to check in human-readable files.

Inheritance diagram of CustomFileCache

Inheritance Diagram for CustomFileCache

Methods

__init__(*args, **kwargs)

Attributes

__init__(*args, **kwargs)[source]