mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added default value of lifetime to docstring
This commit is contained in:
parent
f10d266029
commit
2594fc82b0
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ class CacheItem:
|
|||
default_factory (Optional[callable]): Function that returns default
|
||||
value used on init and on reset.
|
||||
lifetime (Optional[int]): Lifetime of the cache data in seconds.
|
||||
Default lifetime is 120 seconds.
|
||||
|
||||
"""
|
||||
def __init__(self, default_factory=None, lifetime=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue