069f9b104593bdc2bf755f1db4e36674fc2d9856,loudml/loudml/model.py,Model,__init__,#Model#Any#Any#,74

Before Change


        name -- model settings
        

        self.validate(settings)
        settings = copy.deepcopy(settings)

        self._settings = settings
        self.name = settings.get("name")

After Change


        self._settings = settings
        self.name = settings.get("name")
        self._settings = settings
        self.measurement = settings.get("measurement")
        self.routing = settings.get("routing")
        self.state = state
        self.features = [Feature(**feature) for feature in settings["features"]]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: regel/loudml
Commit Name: 069f9b104593bdc2bf755f1db4e36674fc2d9856
Time: 2018-01-27
Author: christophe@redmintnetwork.fr
File Name: loudml/loudml/model.py
Class Name: Model
Method Name: __init__


Project Name: chakki-works/doccano
Commit Name: 8222ea602261df413882b28944386b4e30cc8cf1
Time: 2019-10-18
Author: clewolff@microsoft.com
File Name: app/api/serializers.py
Class Name: LabelSerializer
Method Name: validate


Project Name: pantsbuild/pants
Commit Name: e6fca77674554e516cfb358d1b395986acd3f7e7
Time: 2016-05-02
Author: john.sirois@gmail.com
File Name: src/python/pants/java/distribution/distribution.py
Class Name: DistributionLocator
Method Name: locate