Skip to content

Commit

Permalink
Add missing item in docstring. (#6167)
Browse files Browse the repository at this point in the history
  • Loading branch information
SultanOrazbayev authored and philippjfr committed Jan 17, 2024
1 parent 6b0282a commit 0ea55dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions panel/io/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ def cache(
A dictionary mapping from a type to a function which returns
a hash for an object of that type. If provided this will
override the default hashing function provided by Panel.
max_items: int or None
The maximum items to keep in the cache. Default is None, which does
not limit number of items stored in the cache.
policy: str
A caching policy when max_items is set, must be one of:
- FIFO: First in - First out
Expand Down

0 comments on commit 0ea55dc

Please sign in to comment.