321a0f455524b7553a66ff229f8b4c02c40a5fda,featuretools/entityset/entityset.py,EntitySet,get_forward_entities,#EntitySet#Any#Any#,411

Before Change


                parents_deep.add(p)

                // no loops that are typically caused by one to one relationships
                if entity_id in self.get_forward_entities(p):
                    continue

                to_add = self.get_forward_entities(p, deep=True)
                parents_deep = parents_deep.union(to_add)

            parents = parents_deep

After Change


        Yields a tuple of (descendent_id, path from entity_id to descendant).
        
        for relationship in self.get_forward_relationships(entity_id):
            parent_eid = relationship.parent_entity.id
            direct_path = RelationshipPath([(True, relationship)])
            yield parent_eid, direct_path

            if deep:
                sub_entities = self.get_forward_entities(parent_eid, deep=True)
                for sub_eid, path in sub_entities:
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_forward_entities


Project Name: chakki-works/doccano
Commit Name: eb09eb97d28c918756c12a8960d5daa85d098abc
Time: 2019-03-06
Author: light.tree.1.13@gmail.com
File Name: app/server/api.py
Class Name: CSVHandler
Method Name: parse


Project Name: SeldonIO/seldon-core
Commit Name: d78331c9f66c47abeb806f2e409cdb442b2c02be
Time: 2020-03-23
Author: r.j.skolasinski@gmail.com
File Name: python/seldon_core/metrics.py
Class Name: SeldonMetrics
Method Name: collect


Project Name: IndicoDataSolutions/finetune
Commit Name: 63bde2f7cf28dbf6bca6e77fe0b0a9966dc6aee6
Time: 2020-05-14
Author: benlt@hotmail.co.uk
File Name: finetune/target_models/document_labeling.py
Class Name: DocumentPipeline
Method Name: _text_to_ids