Mercurial > code > home > repos > rdfdb
diff stubs/scales/scales_test.pyi @ 53:a21b87140758
more stubs
Ignore-this: ff80b18a86305d43128277f5db0248b5
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 30 May 2019 08:15:10 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stubs/scales/scales_test.pyi Thu May 30 08:15:10 2019 +0000 @@ -0,0 +1,55 @@ +# Stubs for 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: ...