Files
@ 066f05ad7900
Branch filter:
Location: light9/stubs/scales/graphite.pyi - annotation
066f05ad7900
881 B
text/plain
collector: even stronger types; repair test code (some are failing)
0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 | # Stubs for scales.graphite (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
import threading
from typing import Any, Optional
log: Any
class GraphitePusher:
rules: Any = ...
pruneRules: Any = ...
prefix: Any = ...
graphite: Any = ...
def __init__(self, host: Any, port: Any, prefix: Optional[Any] = ...) -> None: ...
def push(self, statsDict: Optional[Any] = ..., prefix: Optional[Any] = ..., path: Optional[Any] = ...) -> None: ...
def allow(self, rule: Any) -> None: ...
def forbid(self, rule: Any) -> None: ...
def prune(self, rule: Any) -> None: ...
class GraphitePeriodicPusher(threading.Thread, GraphitePusher):
daemon: bool = ...
period: Any = ...
def __init__(self, host: Any, port: Any, prefix: Optional[Any] = ..., period: int = ...) -> None: ...
def run(self) -> None: ...
|