changeset 1397:7f3eba4cfc22

stubs Ignore-this: d29870f1f7df2ebad871363d99250598 darcs-hash:6f70b6885039bd5f7c33d6d8944d5744b3348816
author drewp <drewp@bigasterisk.com>
date Sat, 06 Jul 2019 13:55:59 -0700
parents 68fa0c41862b
children 53d7168bbe4c
files service/collector/stubs/greplin/scales/__init__.pyi service/collector/stubs/greplin/scales/aggregation.pyi service/collector/stubs/greplin/scales/aggregation_test.pyi service/collector/stubs/greplin/scales/bottlehandler.pyi service/collector/stubs/greplin/scales/clock.pyi service/collector/stubs/greplin/scales/cyclonehandler.pyi service/collector/stubs/greplin/scales/formats.pyi service/collector/stubs/greplin/scales/formats_test.pyi service/collector/stubs/greplin/scales/graphite.pyi service/collector/stubs/greplin/scales/loop.pyi service/collector/stubs/greplin/scales/meter.pyi service/collector/stubs/greplin/scales/samplestats.pyi service/collector/stubs/greplin/scales/samplestats_test.pyi service/collector/stubs/greplin/scales/scales_test.pyi service/collector/stubs/greplin/scales/timer.pyi service/collector/stubs/greplin/scales/tornadolike.pyi service/collector/stubs/greplin/scales/twistedweb.pyi service/collector/stubs/greplin/scales/util.pyi service/collector/stubs/greplin/scales/util_test.pyi service/collector/stubs/rdfdb/__init__.py service/collector/stubs/rdfdb/patch.pyi service/collector/stubs/rdflib/__init__.pyi service/collector/stubs/rdflib/graph.pyi service/collector/stubs/rdflib/namespace.pyi service/collector/stubs/rdflib/parser.pyi service/collector/stubs/rdflib/term.pyi service/collector/stubs/twisted/__init__.pyi service/collector/stubs/twisted/internet.pyi
diffstat 27 files changed, 0 insertions(+), 991 deletions(-) [+]
line wrap: on
line diff
--- a/service/collector/stubs/greplin/scales/__init__.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,149 +0,0 @@
-# Stubs for greplin.scales (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import json
-from collections import UserDict
-from typing import Any, Optional
-
-ID_KEY: str
-NEXT_ID: Any
-
-def statsId(obj: Any): ...
-def init(obj: Any, context: Optional[Any] = ...): ...
-def initChild(obj: Any, name: Any): ...
-def initChildOfType(obj: Any, name: Any, subContext: Optional[Any] = ...): ...
-def reset() -> None: ...
-def getStats(): ...
-def setCollapsed(path: Any): ...
-
-class StatContainer(UserDict):
-    def __init__(self) -> None: ...
-    def setCollapsed(self, isCollapsed: Any) -> None: ...
-    def isCollapsed(self): ...
-
-class _Stats:
-    stats: Any = ...
-    parentMap: Any = ...
-    containerMap: Any = ...
-    subId: int = ...
-    @classmethod
-    def reset(cls) -> None: ...
-    @classmethod
-    def init(cls, obj: Any, context: Any): ...
-    @classmethod
-    def initChild(cls, obj: Any, name: Any, subContext: Any, parent: Optional[Any] = ...): ...
-    @classmethod
-    def getContainerForObject(cls, instanceId: Any): ...
-    @classmethod
-    def getStat(cls, obj: Any, name: Any): ...
-    @classmethod
-    def getAggregator(cls, instanceId: Any, name: Any): ...
-    @classmethod
-    def setCollapsed(cls, path: Any) -> None: ...
-
-class Stat:
-    def __init__(self, name: Any, value: str = ..., logger: Optional[Any] = ...) -> None: ...
-    def getName(self): ...
-    def __get__(self, instance: Any, _: Any): ...
-    def __set__(self, instance: Any, value: Any) -> None: ...
-    def updateItem(self, instance: Any, subKey: Any, value: Any) -> None: ...
-    def logger(self, logger: Any): ...
-
-class IntStat(Stat):
-    def __init__(self, name: Any, value: int = ...) -> None: ...
-
-class DoubleStat(Stat):
-    def __init__(self, name: Any, value: float = ...) -> None: ...
-
-class IntDict(UserDict):
-    parent: Any = ...
-    instance: Any = ...
-    autoDelete: Any = ...
-    def __init__(self, parent: Any, instance: Any, autoDelete: bool = ...) -> None: ...
-    def __getitem__(self, item: Any): ...
-    def __setitem__(self, key: Any, value: Any) -> None: ...
-
-class IntDictStat(Stat):
-    autoDelete: Any = ...
-    def __init__(self, name: Any, autoDelete: bool = ...) -> None: ...
-
-class StringDict(UserDict):
-    parent: Any = ...
-    instance: Any = ...
-    def __init__(self, parent: Any, instance: Any) -> None: ...
-    def __getitem__(self, item: Any): ...
-    def __setitem__(self, key: Any, value: Any) -> None: ...
-
-class StringDictStat(Stat): ...
-
-class AggregationStat(Stat):
-    def __init__(self, name: Any, value: Any) -> None: ...
-    def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ...
-
-class ChildAggregationStat(Stat):
-    def __init__(self, name: Any, value: Any) -> None: ...
-    def update(self, instance: Any, oldValue: Any, newValue: Any, subKey: Any) -> None: ...
-
-class SumAggregationStat(AggregationStat):
-    def __init__(self, name: Any) -> None: ...
-    def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ...
-
-class HistogramAggregationStat(AggregationStat):
-    autoDelete: Any = ...
-    def __init__(self, name: Any, autoDelete: bool = ...) -> None: ...
-    def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ...
-
-class IntDictSumAggregationStat(ChildAggregationStat):
-    def __init__(self, name: Any) -> None: ...
-    def update(self, instance: Any, oldValue: Any, newValue: Any, subKey: Any) -> None: ...
-
-class PmfStatDict(UserDict):
-    class TimeManager:
-        container: Any = ...
-        msg99: Any = ...
-        start: Any = ...
-        def __init__(self, container: Any) -> None: ...
-        def __enter__(self): ...
-        def __exit__(self, *_: Any) -> None: ...
-        def warn99(self, logger: Any, msg: Any, *args: Any) -> None: ...
-        def discard(self) -> None: ...
-        def __call__(self, func: Any): ...
-    percentile99: Any = ...
-    def __init__(self, sample: Optional[Any] = ...) -> None: ...
-    def __getitem__(self, item: Any): ...
-    def addValue(self, value: Any) -> None: ...
-    def time(self): ...
-
-class PmfStat(Stat):
-    def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ...
-    def __set__(self, instance: Any, value: Any) -> None: ...
-
-class NamedPmfDict(UserDict):
-    def __init__(self) -> None: ...
-    def __getitem__(self, item: Any): ...
-    def __setitem__(self, key: Any, value: Any) -> None: ...
-
-class NamedPmfDictStat(Stat): ...
-
-class StateTimeStatDict(UserDict):
-    parent: Any = ...
-    instance: Any = ...
-    def __init__(self, parent: Any, instance: Any) -> None: ...
-    def __getitem__(self, item: Any): ...
-    def incr(self, item: Any, value: Any) -> None: ...
-    def acquire(self) -> None: ...
-
-class StateTimeStat(Stat):
-    state: int = ...
-    time: Any = ...
-    def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ...
-    def __set__(self, instance: Any, value: Any) -> None: ...
-
-def filterCollapsedItems(data: Any): ...
-
-class StatContainerEncoder(json.JSONEncoder):
-    def default(self, obj: Any): ...
-
-def dumpStatsTo(filename: Any) -> None: ...
-def collection(path: Any, *stats: Any): ...
--- a/service/collector/stubs/greplin/scales/aggregation.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-# Stubs for greplin.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): ...
--- a/service/collector/stubs/greplin/scales/aggregation_test.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# Stubs for greplin.scales.aggregation_test (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import unittest
-
-class AggregationTest(unittest.TestCase):
-    def testNoData(self) -> None: ...
-    def testRegex(self) -> None: ...
--- a/service/collector/stubs/greplin/scales/bottlehandler.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# Stubs for greplin.scales.bottlehandler (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any
-
-def bottlestats(server_name: Any, path: str = ...): ...
-def register_stats_handler(app: Any, server_name: Any, prefix: str = ...) -> None: ...
--- a/service/collector/stubs/greplin/scales/clock.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# Stubs for greplin.scales.clock (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-class BasicClock:
-    def time(self): ...
-
-def getClock(): ...
--- a/service/collector/stubs/greplin/scales/cyclonehandler.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-# Stubs for greplin.scales.cyclonehandler (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import cyclone.web
-from greplin.scales import tornadolike
-
-class StatsHandler(tornadolike.Handler, cyclone.web.RequestHandler): ...
--- a/service/collector/stubs/greplin/scales/formats.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# Stubs for greplin.scales.formats (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any, Optional
-
-OPERATORS: Any
-OPERATOR: Any
-
-def runQuery(statDict: Any, query: Any): ...
-def htmlHeader(output: Any, path: Any, serverName: Any, query: Optional[Any] = ...) -> None: ...
-def htmlFormat(output: Any, pathParts: Any = ..., statDict: Optional[Any] = ..., query: Optional[Any] = ...) -> None: ...
-def jsonFormat(output: Any, statDict: Optional[Any] = ..., query: Optional[Any] = ..., pretty: bool = ...) -> None: ...
--- a/service/collector/stubs/greplin/scales/formats_test.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-# Stubs for greplin.scales.formats_test (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import unittest
-from typing import Any
-
-class Root:
-    def __init__(self) -> None: ...
-    def getChild(self, name: Any, collapsed: Any): ...
-
-class Child:
-    countStat: Any = ...
-    def __init__(self, name: Any, collapsed: Any) -> None: ...
-
-class StatsTest(unittest.TestCase):
-    def setUp(self) -> None: ...
-    def testJsonCollapse(self) -> None: ...
-
-class UnicodeFormatTest(unittest.TestCase):
-    UNICODE_VALUE: Any = ...
-    def testHtmlFormat(self) -> None: ...
-    def testJsonFormat(self) -> None: ...
-    def testJsonFormatBinaryGarbage(self) -> None: ...
--- a/service/collector/stubs/greplin/scales/graphite.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-# 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: ...
--- a/service/collector/stubs/greplin/scales/loop.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# Stubs for greplin.scales.loop (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any
-
-def installStatsLoop(statsFile: Any, statsDelay: Any) -> None: ...
--- a/service/collector/stubs/greplin/scales/meter.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# 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): ...
--- a/service/collector/stubs/greplin/scales/samplestats.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-# Stubs for greplin.scales.samplestats (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from .clock import getClock
-from typing import Any
-
-class Sampler:
-    min: Any = ...
-    max: Any = ...
-    def __init__(self) -> None: ...
-    def __len__(self): ...
-    def samples(self): ...
-    def update(self, value: Any) -> None: ...
-    @property
-    def mean(self): ...
-    @property
-    def stddev(self): ...
-    def percentiles(self, percentiles: Any): ...
-
-class ExponentiallyDecayingReservoir(Sampler):
-    DEFAULT_SIZE: int = ...
-    DEFAULT_ALPHA: float = ...
-    DEFAULT_RESCALE_THRESHOLD: int = ...
-    values: Any = ...
-    alpha: Any = ...
-    size: Any = ...
-    clock: Any = ...
-    rescale_threshold: Any = ...
-    count: int = ...
-    startTime: Any = ...
-    nextScaleTime: Any = ...
-    def __init__(self, size: Any = ..., alpha: Any = ..., rescale_threshold: Any = ..., clock: Any = ...) -> None: ...
-    def __len__(self): ...
-    def clear(self) -> None: ...
-    def update(self, value: Any) -> None: ...
-    def samples(self): ...
-
-class UniformSample(Sampler):
-    sample: Any = ...
-    count: int = ...
-    def __init__(self) -> None: ...
-    def clear(self) -> None: ...
-    def __len__(self): ...
-    def update(self, value: Any) -> None: ...
-    def __iter__(self): ...
-    def samples(self): ...
--- a/service/collector/stubs/greplin/scales/samplestats_test.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# Stubs for greplin.scales.samplestats_test (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import unittest
-
-class UniformSampleTest(unittest.TestCase):
-    def testGaussian(self) -> None: ...
-
-class ExponentiallyDecayingReservoirTest(unittest.TestCase):
-    def testGaussian(self) -> None: ...
-    def testWithRescale(self) -> None: ...
--- a/service/collector/stubs/greplin/scales/scales_test.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-# Stubs for greplin.scales.scales_test (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import unittest
-from typing import Any
-
-class Root1:
-    stateStat: Any = ...
-    errorsStat: Any = ...
-    activeUrlsStat: Any = ...
-    def __init__(self) -> None: ...
-    def getChild(self, cls: Any, *args: Any): ...
-
-class Root2:
-    def __init__(self) -> None: ...
-    def getChild(self, cls: Any): ...
-
-class AggregatingRoot:
-    countStat: Any = ...
-    stateStat: Any = ...
-    errorsStat: Any = ...
-    def __init__(self) -> None: ...
-    def getChild(self, cls: Any, *args: Any): ...
-
-class AggregatingRootSubclass(AggregatingRoot): ...
-
-class TypedChild:
-    countStat: Any = ...
-    def __init__(self) -> None: ...
-
-class Child:
-    countStat: Any = ...
-    stateStat: Any = ...
-    errorsStat: Any = ...
-    def __init__(self, name: str = ...) -> None: ...
-
-class DynamicRoot:
-    value: int = ...
-    dynamicStat: Any = ...
-    def __init__(self) -> None: ...
-
-class StatsTest(unittest.TestCase):
-    def setUp(self) -> None: ...
-    def testChildTypeStats(self) -> None: ...
-    def testChildStats(self) -> None: ...
-    def testMultilevelChild(self) -> None: ...
-    def testStatSum(self) -> None: ...
-    def testStatSumWithSubclassRoot(self) -> None: ...
-    def helpTestStatSum(self, a: Any) -> None: ...
-    def testStatHistogram(self) -> None: ...
-    def testIntDictStats(self) -> None: ...
-    def testIntDictStatsAggregation(self) -> None: ...
-    def testDynamic(self) -> None: ...
-    def testCollection(self) -> None: ...
--- a/service/collector/stubs/greplin/scales/timer.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# Stubs for greplin.scales.timer (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any
-
-def RepeatTimer(interval: Any, function: Any, iterations: int = ..., *args: Any, **kwargs: Any): ...
--- a/service/collector/stubs/greplin/scales/tornadolike.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-# Stubs for greplin.scales.tornadolike (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any
-
-class Handler:
-    serverName: Any = ...
-    def initialize(self, serverName: Any) -> None: ...
-    def get(self, path: Any) -> None: ...
--- a/service/collector/stubs/greplin/scales/twistedweb.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# Stubs for greplin.scales.twistedweb (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from twisted.web import resource
-from typing import Any
-
-class StatsResource(resource.Resource):
-    isLeaf: bool = ...
-    serverName: Any = ...
-    def __init__(self, serverName: Any) -> None: ...
-    def render_GET(self, request: Any): ...
--- a/service/collector/stubs/greplin/scales/util.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-# Stubs for greplin.scales.util (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import threading
-from typing import Any, Optional
-
-log: Any
-
-def lookup(source: Any, keys: Any, fallback: Optional[Any] = ...): ...
-
-class GraphiteReporter(threading.Thread):
-    sock: Any = ...
-    queue: Any = ...
-    maxQueueSize: Any = ...
-    daemon: bool = ...
-    def __init__(self, host: Any, port: Any, maxQueueSize: int = ...) -> None: ...
-    def run(self) -> None: ...
-    def connect(self) -> None: ...
-    def disconnect(self) -> None: ...
-    def log(self, name: Any, value: Any, valueType: Optional[Any] = ..., stamp: Optional[Any] = ...) -> None: ...
-    def enqueue(self, name: Any, value: Any, valueType: Optional[Any] = ..., stamp: Optional[Any] = ...) -> None: ...
-    def flush(self) -> None: ...
-    def shutdown(self) -> None: ...
-
-class AtomicValue:
-    lock: Any = ...
-    value: Any = ...
-    def __init__(self, val: Any) -> None: ...
-    def update(self, function: Any): ...
-    def getAndSet(self, newVal: Any): ...
-    def addAndGet(self, val: Any): ...
-
-class EWMA:
-    M1_ALPHA: Any = ...
-    M5_ALPHA: Any = ...
-    M15_ALPHA: Any = ...
-    TICK_RATE: int = ...
-    @classmethod
-    def oneMinute(cls): ...
-    @classmethod
-    def fiveMinute(cls): ...
-    @classmethod
-    def fifteenMinute(cls): ...
-    alpha: Any = ...
-    interval: Any = ...
-    rate: int = ...
-    def __init__(self, alpha: Any, interval: Any) -> None: ...
-    def update(self, val: Any) -> None: ...
-    def tick(self) -> None: ...
--- a/service/collector/stubs/greplin/scales/util_test.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-# Stubs for greplin.scales.util_test (Python 3)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-import unittest
-
-class AtomicValueTest(unittest.TestCase):
-    def testUpdate(self) -> None: ...
-    def testGetAndSet(self) -> None: ...
-    def testAddAndGet(self) -> None: ...
--- a/service/collector/stubs/rdfdb/patch.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-# Stubs for rdfdb.patch (Python 3)
-#
-
-# these should move into patch.py itself, but I'm keeping it py2-friendly for now
-
-import unittest
-from typing import Any, Optional, Iterable, Dict, Collection, Tuple
-from rdflib import StatementType
-from rdflib.term import Node, URIRef
-from rdflib.graph import ConjunctiveGraph
-
-
-def quadsWithContextUris(quads: Any) -> None: ...
-
-class Patch:
-    def __init__(self,
-                 jsonRepr: Optional[Any] = ...,
-                 addQuads: Optional[Iterable[StatementType]] = ...,
-                 delQuads: Optional[Iterable[StatementType]] = ...,
-                 addGraph: Optional[ConjunctiveGraph] = ...,
-                 delGraph: Optional[ConjunctiveGraph] = ...): ...
-    def shortSummary(self) -> str: ...
-    @classmethod
-    def fromDiff(cls, oldGraph: ConjunctiveGraph, newGraph: ConjunctiveGraph) -> Patch: ...
-    def __nonzero__(self) -> bool: ...
-    @property
-    def addQuads(self) -> Collection[StatementType]: ...
-    @property
-    def delQuads(self) -> Collection[StatementType]: ...
-    @property
-    def addGraph(self) -> ConjunctiveGraph: ...
-    @property
-    def delGraph(self) -> ConjunctiveGraph: ...
-    @property
-    def jsonRepr(self) -> str: ...
-    def makeJsonRepr(self, extraAttrs: Optional[Dict]) -> str: ...
-    def simplify(self) -> Patch: ...
-    def concat(self, more: Iterable[Patch]) -> Patch: ...
-    def getContext(self) -> URIRef: ...
-    def isNoop(self) -> bool: ...
--- a/service/collector/stubs/rdflib/__init__.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-# Stubs for rdflib (Python 3.4)
-#
-from typing import Tuple, Union
-
-
-from rdflib.namespace import RDF, RDFS, OWL, XSD
-
-# this is the 1st way that worked. 'from rdflib.term import URIRef' did not work.
-import rdflib.namespace as _n
-Namespace = _n.Namespace
-
-import rdflib.term as _t
-URIRef = _t.URIRef
-Literal = _t.Literal
-BNode = _t.BNode
-
-import rdflib.graph as _g
-ConjunctiveGraph = _g.ConjunctiveGraph
-Graph = _g.Graph
-
-# not part of rdflib
-StatementType = Tuple[Union[URIRef, BNode], URIRef, _t.Node, URIRef]
--- a/service/collector/stubs/rdflib/graph.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,169 +0,0 @@
-# Stubs for rdflib.graph (Python 3.4)
-#
-
-
-from typing import Any, Optional, Tuple, Sequence, Iterable
-from io import StringIO as BytesIO
-from rdflib import StatementType
-from rdflib.term import Node, URIRef
-
-# real Graph is a subclass of Node, but I have bugs where the context
-# in a statement is the wrong one of Graph or URIRef, so I want that to be more clear.
-class Graph:
-    context_aware = ...  # type: Any
-    formula_aware = ...  # type: Any
-    def __init__(self, store='', identifier: Optional[URIRef]=None, namespace_manager=None): ...
-    store = ...  # type: Any
-    identifier: URIRef = ... 
-    namespace_manager = ...  # type: Any
-    def toPython(self): ...
-    def destroy(self, configuration): ...
-    def commit(self): ...
-    def rollback(self): ...
-    def open(self, configuration, create=False): ...
-    def close(self, commit_pending_transaction=False): ...
-    def add(self, xxx_todo_changeme): ...
-    def addN(self, quads: Iterable[StatementType]): ...
-    def remove(self, xxx_todo_changeme1): ...
-    def triples(self, xxx_todo_changeme2) -> Sequence[Tuple[Node, Node, Node]]: ...
-    def __getitem__(self, item): ...
-    def __len__(self) -> int: ...
-    def __iter__(self): ...
-    def __contains__(self, triple) -> bool: ...
-    def __hash__(self): ...
-    def md5_term_hash(self): ...
-    def __cmp__(self, other): ...
-    def __eq__(self, other): ...
-    def __lt__(self, other): ...
-    def __le__(self, other): ...
-    def __gt__(self, other): ...
-    def __ge__(self, other): ...
-    def __iadd__(self, other): ...
-    def __isub__(self, other): ...
-    def __add__(self, other): ...
-    def __mul__(self, other): ...
-    def __sub__(self, other): ...
-    def __xor__(self, other): ...
-    __or__ = ...  # type: Any
-    __and__ = ...  # type: Any
-    def set(self, triple): ...
-    def subjects(self, predicate=None, object=None) -> Sequence[Node]: ...
-    def predicates(self, subject=None, object=None) -> Sequence[Node]: ...
-    def objects(self, subject=None, predicate=None) -> Sequence[Node]: ...
-    def subject_predicates(self, object=None) -> Sequence[Tuple[Node, Node]]: ...
-    def subject_objects(self, predicate=None) -> Sequence[Tuple[Node, Node]]: ...
-    def predicate_objects(self, subject=None) -> Sequence[Tuple[Node, Node]]: ...
-    def triples_choices(self, xxx_todo_changeme3, context=None): ...
-    def value(self, subject=None, predicate=..., object=None, default=None, any=True) -> Optional[Node]: ...
-    def label(self, subject, default='') -> Optional[Node]: ...
-    def preferredLabel(self, subject, lang=None, default=None, labelProperties=...): ...
-    def comment(self, subject, default=''): ...
-    def items(self, list): ...
-    def transitiveClosure(self, func, arg, seen=None): ...
-    def transitive_objects(self, subject, property, remember=None): ...
-    def transitive_subjects(self, predicate, object, remember=None): ...
-    def seq(self, subject): ...
-    def qname(self, uri): ...
-    def compute_qname(self, uri, generate=True): ...
-    def bind(self, prefix, namespace, override=True): ...
-    def namespaces(self): ...
-    def absolutize(self, uri, defrag=1): ...
-    def serialize(self, destination=None, format='', base=None, encoding=None, **args): ...
-    def parse(self, source=None, publicID=None, format=None, location=None, file=None, data=None, **args): ...
-    def load(self, source, publicID=None, format=''): ...
-    def query(self, query_object, processor='', result='', initNs=None, initBindings=None, use_store_provided=True, **kwargs): ...
-    def update(self, update_object, processor='', initNs=..., initBindings=..., use_store_provided=True, **kwargs): ...
-    def n3(self): ...
-    def __reduce__(self): ...
-    def isomorphic(self, other): ...
-    def connected(self): ...
-    def all_nodes(self): ...
-    def resource(self, identifier): ...
-    def skolemize(self, new_graph=None, bnode=None): ...
-    def de_skolemize(self, new_graph=None, uriref=None): ...
-
-class ConjunctiveGraph(Graph):
-    context_aware = ...  # type: Any
-    default_context = ...  # type: Any
-    def __init__(self, store='', identifier=None): ...
-    def __contains__(self, triple_or_quad): ...
-    def add(self, xxx_todo_changeme4): ...
-    def addN(self, quads: Iterable[StatementType]): ...
-    def remove(self, xxx_todo_changeme5): ...
-    def triples(self, xxx_todo_changeme6, context=None): ...
-    def quads(self, pattern=None) -> Iterable[StatementType]: ...
-    def triples_choices(self, xxx_todo_changeme7): ...
-    def __len__(self): ...
-    def contexts(self, triple=None): ...
-    def get_context(self, identifier, quoted=False): ...
-    def remove_context(self, context): ...
-    def context_id(self, uri, context_id=None): ...
-    def parse(self, source=None, publicID=None, format='', location=None, file=None, data=None, **args): ...
-    def __reduce__(self): ...
-
-class Dataset(ConjunctiveGraph):
-    __doc__ = ...  # type: Any
-    DEFAULT = ...  # type: Any
-    graph_names = ...  # type: Any
-    def __init__(self, store=''): ...
-    def graph(self, identifier=None): ...
-    def remove_graph(self, g): ...
-    def graphs(self, empty=True): ...
-    def add_quad(self, quad): ...
-    def remove_quad(self, xxx_todo_changeme8): ...
-    def quads(self, quad): ...
-
-class QuotedGraph(Graph):
-    def __init__(self, store, identifier): ...
-    def add(self, triple): ...
-    def addN(self, quads): ...
-    def n3(self): ...
-    def __reduce__(self): ...
-
-class GraphValue(QuotedGraph):
-    def __init__(self, store, identifier=None, graph=None): ...
-    def add(self, triple): ...
-    def remove(self, triple): ...
-    def __reduce__(self): ...
-
-class Seq:
-    def __init__(self, graph, subject): ...
-    def toPython(self): ...
-    def __iter__(self): ...
-    def __len__(self): ...
-    def __getitem__(self, index): ...
-
-class ModificationException(Exception):
-    def __init__(self): ...
-
-class UnSupportedAggregateOperation(Exception):
-    def __init__(self): ...
-
-class ReadOnlyGraphAggregate(ConjunctiveGraph):
-    graphs = ...  # type: Any
-    def __init__(self, graphs, store=''): ...
-    def destroy(self, configuration): ...
-    def commit(self): ...
-    def rollback(self): ...
-    def open(self, configuration, create=False): ...
-    def close(self): ...
-    def add(self, xxx_todo_changeme12): ...
-    def addN(self, quads): ...
-    def remove(self, xxx_todo_changeme13): ...
-    def triples(self, xxx_todo_changeme14): ...
-    def __contains__(self, triple_or_quad): ...
-    def quads(self, xxx_todo_changeme15): ...
-    def __len__(self): ...
-    def __hash__(self): ...
-    def __cmp__(self, other): ...
-    def __iadd__(self, other): ...
-    def __isub__(self, other): ...
-    def triples_choices(self, xxx_todo_changeme16, context=None): ...
-    def qname(self, uri): ...
-    def compute_qname(self, uri, generate=True): ...
-    def bind(self, prefix, namespace, override=True): ...
-    def namespaces(self): ...
-    def absolutize(self, uri, defrag=1): ...
-    def parse(self, source, publicID=None, format='', **args): ...
-    def n3(self): ...
-    def __reduce__(self): ...
--- a/service/collector/stubs/rdflib/namespace.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-# Stubs for rdflib.namespace (Python 3.4)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any
-
-class Namespace(str):
-    __doc__ = ...  # type: Any
-    def __new__(cls, value): ...
-    @property
-    def title(self): ...
-    def term(self, name): ...
-    def __getitem__(self, key, default=None): ...
-    def __getattr__(self, name): ...
-
-class URIPattern(str):
-    __doc__ = ...  # type: Any
-    def __new__(cls, value): ...
-    def __mod__(self, *args, **kwargs): ...
-    def format(self, *args, **kwargs): ...
-
-class ClosedNamespace:
-    uri = ...  # type: Any
-    def __init__(self, uri, terms): ...
-    def term(self, name): ...
-    def __getitem__(self, key, default=None): ...
-    def __getattr__(self, name): ...
-
-class _RDFNamespace(ClosedNamespace):
-    def __init__(self): ...
-    def term(self, name): ...
-
-RDF = ...  # type: Any
-RDFS = ...  # type: Any
-OWL = ...  # type: Any
-XSD = ...  # type: Any
-SKOS = ...  # type: Any
-DOAP = ...  # type: Any
-FOAF = ...  # type: Any
-DC = ...  # type: Any
-DCTERMS = ...  # type: Any
-VOID = ...  # type: Any
-
-class NamespaceManager:
-    graph = ...  # type: Any
-    def __init__(self, graph): ...
-    def reset(self): ...
-    store = ...  # type: Any
-    def qname(self, uri): ...
-    def normalizeUri(self, rdfTerm): ...
-    def compute_qname(self, uri, generate=True): ...
-    def bind(self, prefix, namespace, override=True): ...
-    def namespaces(self): ...
-    def absolutize(self, uri, defrag=1): ...
-
-def is_ncname(name): ...
-
-XMLNS = ...  # type: Any
-
-def split_uri(uri): ...
--- a/service/collector/stubs/rdflib/parser.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-# Stubs for rdflib.parser (Python 3.4)
-#
-# NOTE: This dynamically typed stub was automatically generated by stubgen.
-
-from typing import Any
-from io import StringIO as BytesIO
-
-class Parser:
-    def __init__(self): ...
-    def parse(self, source, sink): ...
-
-class InputSource: # subclass of xmlreader
-  ...
-
-
-class StringInputSource(InputSource):
-    def __init__(self, value, system_id=None): ...
-
-class URLInputSource(InputSource):
-    url = ...  # type: Any
-    content_type = ...  # type: Any
-    def __init__(self, system_id=None, format=None): ...
-
-class FileInputSource(InputSource):
-    file = ...  # type: Any
-    def __init__(self, file): ...
--- a/service/collector/stubs/rdflib/term.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-# Stubs for rdflib.term (Python 3)
-#
-
-from typing import Any, Optional
-
-class Node: ...
-
-class Identifier(Node, str):
-    def __new__(cls, value: Any): ...
-    def eq(self, other: Any): ...
-    def neq(self, other: Any): ...
-    def __ne__(self, other: Any): ...
-    def __eq__(self, other: Any): ...
-    def __gt__(self, other: Any): ...
-    def __lt__(self, other: Any): ...
-    def __le__(self, other: Any): ...
-    def __ge__(self, other: Any): ...
-    def __hash__(self): ...
-
-class URIRef(Identifier):
-    def __new__(cls, value: Any, base: Optional[Any] = ...): ...
-    def toPython(self): ...
-    def n3(self, namespace_manager: Optional[Any] = ...): ...
-    def defrag(self): ...
-    def __reduce__(self): ...
-    def __getnewargs__(self): ...
-    def __add__(self, other: Any): ...
-    def __radd__(self, other: Any): ...
-    def __mod__(self, other: Any): ...
-    def md5_term_hash(self): ...
-    def de_skolemize(self): ...
-
-class BNode(Identifier):
-    def __new__(cls, value: Optional[Any] = ..., _sn_gen: Any = ..., _prefix: Any = ...): ...
-    def toPython(self): ...
-    def n3(self, namespace_manager: Optional[Any] = ...): ...
-    def __getnewargs__(self): ...
-    def __reduce__(self): ...
-    def md5_term_hash(self): ...
-    def skolemize(self, authority: str = ...): ...
-
-class Literal(Identifier):
-    def __new__(cls, lexical_or_value: Any, lang: Optional[Any] = ..., datatype: Optional[Any] = ..., normalize: Optional[Any] = ...): ...
-    def normalize(self): ...
-    @property
-    def value(self): ...
-    @property
-    def language(self): ...
-    @property
-    def datatype(self): ...
-    def __reduce__(self): ...
-    def __add__(self, val: Any): ...
-    def __bool__(self): ...
-    def __neg__(self): ...
-    def __pos__(self): ...
-    def __abs__(self): ...
-    def __invert__(self): ...
-    def __gt__(self, other: Any): ...
-    def __lt__(self, other: Any): ...
-    def __le__(self, other: Any): ...
-    def __ge__(self, other: Any): ...
-    def __hash__(self): ...
-    def __eq__(self, other: Any): ...
-    def eq(self, other: Any): ...
-    def neq(self, other: Any): ...
-    def n3(self, namespace_manager: Optional[Any] = ...): ...
-    def toPython(self): ...
-    def md5_term_hash(self): ...
-
-def bind(datatype: Any, pythontype: Any, constructor: Optional[Any] = ..., lexicalizer: Optional[Any] = ...) -> None: ...
--- a/service/collector/stubs/twisted/__init__.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-
--- a/service/collector/stubs/twisted/internet.pyi	Sat Jul 06 13:55:08 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-from typing import Any, Optional
-
-class IDelayedCall:
-    def getTime(self) -> Any: ...
-    def cancel(self) -> None: ...
-    def delay(self, secondsLater: Any) -> None: ...
-    def reset(self, secondsFromNow: Any) -> None: ...
-    def active(self) -> None: ...
-    
-
-class ReactorType: # abridged
-    def listenTCP(self, port: Any, factory: Any, backlog: int = ..., interface: str = ...) -> None: ...
-    def seconds(self) -> None: ...
-    def callLater(self, delay: Any, callable: Any, *args: Any, **kw: Any) -> IDelayedCall: ...
-    def getDelayedCalls(self) -> None: ...
-    def callFromThread(self, callable: Any, *args: Any, **kw: Any) -> None: ...
-    def callInThread(self, callable: Any, *args: Any, **kwargs: Any) -> None: ...
-    running: Any = ...
-    def resolve(self, name: Any, timeout: int = ...) -> None: ...
-    def run(self) -> None: ...
-    def stop(self) -> None: ...
-    def crash(self) -> None: ...
-    def iterate(self, delay: int = ...) -> None: ...
-    def fireSystemEvent(self, eventType: Any) -> None: ...
-    def addSystemEventTrigger(self, phase: Any, eventType: Any, callable: Any, *args: Any, **kw: Any) -> None: ...
-    def removeSystemEventTrigger(self, triggerID: Any) -> None: ...
-    def callWhenRunning(self, callable: Any, *args: Any, **kw: Any) -> None: ...
-    
-
-reactor = ReactorType()