Skip to content

Show contents of cache() and lru_cache() #131984

@adityaraute

Description

@adityaraute

Proposal:

Allow an option for developers to view the contents of the cache object created through the @lru_cache decorator (link to the doc) , similar in structure to the cache_info() object.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions