321a0f455524b7553a66ff229f8b4c02c40a5fda,featuretools/entityset/entityset.py,EntitySet,get_backward_entities,#EntitySet#Any#Any#,441

Before Change


            children_deep = set([])
            for p in children:
                children_deep.add(p)
                to_add = self.get_backward_entities(p, deep=True)
                children_deep = children_deep.union(to_add)

            children = children_deep
        return set(children)

    def get_forward_relationships(self, entity_id):
        Get relationships where entity "entity_id" is the child

After Change


        
        for relationship in self.get_backward_relationships(entity_id):
            child_eid = relationship.child_entity.id
            direct_path = RelationshipPath([(False, relationship)])
            yield child_eid, direct_path

            if deep:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: Featuretools/featuretools
Commit Name: 321a0f455524b7553a66ff229f8b4c02c40a5fda
Time: 2019-06-21
Author: chrisstadler@gmail.com
File Name: featuretools/entityset/entityset.py
Class Name: EntitySet
Method Name: get_backward_entities


Project Name: nilmtk/nilmtk
Commit Name: 68d56b30e50858751d9248332d20be844031fff0
Time: 2014-12-12
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name:
Method Name: combine_chunks_from_generators


Project Name: Featuretools/featuretools
Commit Name: 321a0f455524b7553a66ff229f8b4c02c40a5fda
Time: 2019-06-21
Author: chrisstadler@gmail.com
File Name: featuretools/entityset/entityset.py
Class Name: EntitySet
Method Name: get_forward_entities


Project Name: brian-team/brian2
Commit Name: 96d693619f48a2f0ee2a5781e387d900976a01cd
Time: 2015-09-29
Author: marcel.stimberg@inserm.fr
File Name: brian2/stateupdaters/exact.py
Class Name: LinearStateUpdater
Method Name: __call__