Files @ b42cb1ea1d20
Branch filter:

Location: light9/stubs/scales/meter.pyi

drewp@bigasterisk.com
rm - we don't do a kernel module anymore; just usb api
# Stubs for 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): ...