Mercurial > code > home > repos > rdfdb
view stubs/greplin/scales/graphite.pyi @ 48:7c3cd440619b
switch to treq http client
Ignore-this: fde2ba73c2d74ed372a1f0be8771c5a
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 27 May 2019 10:47:44 +0000 |
parents | 4f71d2a7a8d1 |
children |
line wrap: on
line source
# Stubs for greplin.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: ...