view stubs/greplin/scales/meter.pyi @ 1863:0f0ff27e55a3

stubs, mostly autogen or empty Ignore-this: bc70818d2bc92bf022c65c3572b9775e
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 25 May 2019 12:01:26 +0000
parents
children
line wrap: on
line source

# 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): ...