Mercurial > code > home > repos > homeauto
diff service/collector/stubs/greplin/scales/meter.pyi @ 450:5595c447c630
more stubs for collector typechecking
Ignore-this: 7151f942cfc29c2b3dfaa0a6b20222aa
author | drewp@bigasterisk.com |
---|---|
date | Fri, 19 Apr 2019 01:07:29 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/collector/stubs/greplin/scales/meter.pyi Fri Apr 19 01:07:29 2019 -0700 @@ -0,0 +1,28 @@ +# Stubs for greplin.scales.meter (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from collections import UserDict +from greplin.scales import Stat +from typing import Any, Optional + +TICKERS: Any +TICKER_THREAD: Any + +class MeterStatDict(UserDict): + def __init__(self) -> None: ... + def __getitem__(self, item: Any): ... + def tick(self) -> None: ... + def mark(self, value: int = ...) -> None: ... + +class MeterStat(Stat): + def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ... + def __set__(self, instance: Any, value: Any) -> None: ... + +class MeterDict(UserDict): + parent: Any = ... + instance: Any = ... + def __init__(self, parent: Any, instance: Any) -> None: ... + def __getitem__(self, item: Any): ... + +class MeterDictStat(Stat): ...