Files @ b42cb1ea1d20
Branch filter:

Location: light9/stubs/greplin/scales/scales_test.pyi - annotation

drewp@bigasterisk.com
rm - we don't do a kernel module anymore; just usb api
# 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: ...