diff stubs/scales/aggregation.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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/scales/aggregation.pyi	Sat May 25 12:01:26 2019 +0000
@@ -0,0 +1,91 @@
+# Stubs for scales.aggregation (Python 3)
+#
+# NOTE: This dynamically typed stub was automatically generated by stubgen.
+
+from typing import Any, Optional
+
+class DefaultFormat:
+    def getCount(self, data: Any): ...
+    def getValue(self, data: Any): ...
+
+class DirectFormat:
+    def getCount(self, _: Any): ...
+    def getValue(self, data: Any): ...
+
+class TimerFormat:
+    def getCount(self, data: Any): ...
+    def getValue(self, data: Any): ...
+
+class TimerMeanFormat:
+    def getCount(self, data: Any): ...
+    def getValue(self, data: Any): ...
+
+class CounterFormat:
+    def getCount(self, data: Any): ...
+    def getValue(self, data: Any): ...
+
+class MeterFormat:
+    def getCount(self, data: Any): ...
+    def getValue(self, data: Any): ...
+
+class GaugeFormat:
+    def getValue(self, data: Any): ...
+
+class DataFormats:
+    DEFAULT: Any = ...
+    DIRECT: Any = ...
+    TIMER: Any = ...
+    TIMER_MEAN: Any = ...
+    COUNTER: Any = ...
+    METER: Any = ...
+    GAUGE: Any = ...
+
+class Aggregator:
+    name: Any = ...
+    def __init__(self, name: Optional[Any] = ..., dataFormat: Any = ...) -> None: ...
+    def clone(self): ...
+
+class Average(Aggregator):
+    DEFAULT_NAME: str = ...
+    def addValue(self, _: Any, value: Any) -> None: ...
+    def result(self): ...
+
+class Sum(Aggregator):
+    DEFAULT_NAME: str = ...
+    total: int = ...
+    def addValue(self, _: Any, value: Any) -> None: ...
+    def result(self): ...
+
+class InverseMap(Aggregator):
+    DEFAULT_NAME: str = ...
+    def __init__(self, *args: Any, **kw: Any) -> None: ...
+    def addValue(self, source: Any, data: Any) -> None: ...
+    def result(self): ...
+
+class Sorted(Aggregator):
+    DEFAULT_NAME: str = ...
+    def __init__(self, cmp: Optional[Any] = ..., key: Optional[Any] = ..., reverse: bool = ..., *args: Any, **kw: Any) -> None: ...
+    def addValue(self, source: Any, data: Any) -> None: ...
+    def result(self): ...
+    def clone(self): ...
+
+class Highlight(Aggregator):
+    value: Any = ...
+    source: Any = ...
+    fn: Any = ...
+    def __init__(self, name: Any, fn: Any, dataFormat: Any = ...) -> None: ...
+    def addValue(self, source: Any, value: Any) -> None: ...
+    def result(self): ...
+    def clone(self): ...
+
+class Aggregation:
+    def __init__(self, aggregators: Any) -> None: ...
+    def addSource(self, source: Any, data: Any) -> None: ...
+    def addJsonDirectory(self, directory: Any, test: Optional[Any] = ...) -> None: ...
+    def result(self, root: Optional[Any] = ...): ...
+
+class FileInclusionTest:
+    ignoreByName: Any = ...
+    maxAge: Any = ...
+    def __init__(self, ignoreByName: Optional[Any] = ..., maxAge: Optional[Any] = ...) -> None: ...
+    def __call__(self, _: Any, fullPath: Any): ...