Skip to content

Add 'timeout' param to cached_view_as() examples and documentation. #500

@xxxxxxbox

Description

@xxxxxxbox

It is not clear from the documentation whether the 'cached_view_as' decorator supports the 'timeout' parameter or not. All examples of using cached_view_as() are given without using 'timeout'.

The annotation of the function also does not provide an answer to this question. See the screenshot.

Experimentally, I found out that cached_view_as() actually supports timeout. Please add this to the documentation.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions