49f18ce85a9bb6cca3e1bed4f3c34767d0fb756e,loudml/loudml/model.py,Feature,Feature_1,#,29

Before Change


    

    SCHEMA = Schema({
        Required("name"): schemas.key,
        Required("metric"): schemas.key,
        Required("field"): schemas.key,
        "measurement": Any(None, schemas.key),

After Change



    SCHEMA = Schema({
        Required("name"): All(schemas.key, Length(max=256)),
        Required("metric"): All(schemas.key, Length(max=256)),
        Required("field"): All(schemas.key, Length(max=256)),
        "measurement": Any(None, schemas.key),
        "default": Any(None, int, float),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: regel/loudml
Commit Name: 49f18ce85a9bb6cca3e1bed4f3c34767d0fb756e
Time: 2018-01-31
Author: vianney@redmintnetwork.fr
File Name: loudml/loudml/model.py
Class Name: Feature
Method Name: Feature_1


Project Name: home-assistant/home-assistant
Commit Name: 0ea81c1269478774da679a8eba0995b1736f72dd
Time: 2017-02-03
Author: joeboyc2@gmail.com
File Name: homeassistant/components/light/hyperion.py
Class Name:
Method Name:


Project Name: regel/loudml
Commit Name: 49f18ce85a9bb6cca3e1bed4f3c34767d0fb756e
Time: 2018-01-31
Author: vianney@redmintnetwork.fr
File Name: loudml/loudml/model.py
Class Name: Model
Method Name: Model_1


Project Name: home-assistant/home-assistant
Commit Name: f7380dc9272605fb62c3ac41cde71af007df93b8
Time: 2017-11-30
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/tellstick.py
Class Name:
Method Name: