new: basic arbtt module

This commit is contained in:
Dima Gerasimov 2021-02-22 19:54:28 +00:00 committed by karlicoss
parent ad924ebca8
commit 86497f9b13
7 changed files with 107 additions and 3 deletions

View file

@ -67,9 +67,8 @@ def pages() -> List[Res[Page]]:
return sort_res_by(_dal().pages(), key=key)
# todo not public api yet
def stats():
from .core import stat
from .core import stat, Stats
def stats() -> Stats:
return {
**stat(highlights),
**stat(pages),