Document Backend attrs, adapt to new ModelStore

This commit is contained in:
miruka
2019-12-18 16:24:43 -04:00
parent 36359b05fa
commit 1f41e2ffaa
2 changed files with 53 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
"""Matrix media caching and retrieval."""
"""Matrix media downloading, caching and retrieval."""
import asyncio
import functools
@@ -30,7 +30,7 @@ ACCESS_LOCKS: DefaultDict[str, asyncio.Lock] = DefaultDict(asyncio.Lock)
@dataclass
class MediaCache:
"""Matrix media cache manager."""
"""Matrix downloaded media cache."""
backend: Backend = field()
base_dir: Path = field()