Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2from __future__ import annotations 

3 

4# -- stdlib -- 

5from typing import TYPE_CHECKING 

6import logging 

7 

8# -- third party -- 

9# -- own -- 

10# -- typing -- 

11if TYPE_CHECKING: 

12 from server.core import Core # noqa: F401 

13 

14 

15# -- code -- 

16log = logging.getLogger('server.parts.stats') 

17 

18 

19class Stats(object): 

20 def __init__(self, core: Core): 

21 self.core = core 

22 

23 def __repr__(self) -> str: 

24 return self.__class__.__name__