3053647783990ddcdbe91c2e37ea245c591e9c8e,src/syft/core/node/common/action/run_class_method_action.py,RunClassMethodAction,execute_action,#RunClassMethodAction#Any#Any#,81

Before Change


                read_permissions=result_read_permissions,
            )

        if method_name == "__len__":
            result.tags = resolved_self.tags + ["__len__"]

        node.store[self.id_at_location] = result

    @syft_decorator(typechecking=True)
    def _object2proto(self) -> RunClassMethodAction_PB:

After Change


                result_read_permissions, r_arg.read_permissions
            )
            resolved_kwargs[arg_name] = r_arg.data
            if tags is None:
                tags = r_arg.tags.copy()
            else:
                tags.extend([tag for tag in r_arg.tags if tag not in tags])

        (
            upcasted_args,
            upcasted_kwargs,
        ) = lib.python.util.upcast_args_and_kwargs(resolved_args, resolved_kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: OpenMined/PySyft
Commit Name: 3053647783990ddcdbe91c2e37ea245c591e9c8e
Time: 2021-02-12
Author: xvtongye1986@163.com
File Name: src/syft/core/node/common/action/run_class_method_action.py
Class Name: RunClassMethodAction
Method Name: execute_action


Project Name: deepchem/deepchem
Commit Name: 744fedeb6d6aa38b4064380cb7e42e4f783eede6
Time: 2020-07-29
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/models/keras_model.py
Class Name: KerasModel
Method Name: fit_generator


Project Name: OpenNMT/OpenNMT-py
Commit Name: 0b2fd0f6ac45feda4eb2ccd92cc7b15b279a448a
Time: 2017-08-10
Author: benzurdopeters@gmail.com
File Name: onmt/Models.py
Class Name: Embeddings
Method Name: __init__


Project Name: chainer/chainercv
Commit Name: a7706fbde22887909db42f96a696437c084c05db
Time: 2017-05-31
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: eval_detection_voc