Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(4)  |  Import(0)

src/c/e/ceilometer-HEAD/ceilometer/transformer/conversions.py   ceilometer(Download)
class ScalingTransformer(transformer.TransformerBase):
    """Transformer to apply a scaling conversion.
    """
 
    def __init__(self, source={}, target={}, **kwargs):

src/c/e/ceilometer-HEAD/ceilometer/transformer/accumulator.py   ceilometer(Download)
class TransformerAccumulator(transformer.TransformerBase):
    """Transformer that accumulates sample until a threshold, and then flush
    them out in the wild.
 
    """

src/c/e/ceilometer-HEAD/ceilometer/tests/pipeline_base.py   ceilometer(Download)
    class TransformerClass(transformer.TransformerBase):
        samples = []
 
        def __init__(self, append_name='_update'):
            self.__class__.samples = []
    class TransformerClassDrop(transformer.TransformerBase):
        samples = []
 
        def __init__(self):
            self.__class__.samples = []