• Kirill Smelkov's avatar
    py2: kpi: Add @staticmethod in between @func and __new__ · 4899f187
    Kirill Smelkov authored
    Else on py2 it breaks as e.g.
    
        TypeError: unbound method __new__() must be called with Measurement instance as first argument (got type instance instead)
    
    On py3 it works ok without explicit @staticmethod -> probably something
    to fix on pygolang side.
    4899f187
kpi.py 28.1 KB