zulip: add stats function
This commit is contained in:
parent
b5f266c2bd
commit
7323e99504
1 changed files with 8 additions and 0 deletions
|
@ -170,3 +170,11 @@ def messages() -> Iterator[Res[Message]]:
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
assert_never(x)
|
assert_never(x)
|
||||||
|
|
||||||
|
|
||||||
|
from my.core import Stats
|
||||||
|
def stats() -> Stats:
|
||||||
|
from my.core import stat
|
||||||
|
return {
|
||||||
|
**stat(messages)
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue