658f477c38d6ba0ceb08d13fec8337437a620208,src/syft/core/node/common/action/run_class_method_action.py,RunClassMethodAction,execute_action,#RunClassMethodAction#Any#,27

Before Change



        resolved_kwargs = {}
        for arg_name, arg in self.kwargs.items():
            r_arg = node.store.get_object(id=arg.id_at_location)
            resolved_kwargs[arg_name] = r_arg

        result = method(resolved_self, *resolved_args, **resolved_kwargs)

After Change



        resolved_kwargs = {}
        for arg_name, arg in self.kwargs.items():
            r_arg = node.store[arg.id_at_location].data
            resolved_kwargs[arg_name] = r_arg

        result = method(resolved_self, *resolved_args, **resolved_kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: OpenMined/PySyft
Commit Name: 658f477c38d6ba0ceb08d13fec8337437a620208
Time: 2020-08-08
Author: andrew@openmined.org
File Name: src/syft/core/node/common/action/run_class_method_action.py
Class Name: RunClassMethodAction
Method Name: execute_action


Project Name: OpenMined/PySyft
Commit Name: 55cece34158493025b98ab8d75d5a85943d858b6
Time: 2021-02-08
Author: tudorcebere@gmail.com
File Name: src/syft/core/node/common/action/get_or_set_property_action.py
Class Name: GetOrSetPropertyAction
Method Name: execute_action


Project Name: OpenMined/PySyft
Commit Name: 55cece34158493025b98ab8d75d5a85943d858b6
Time: 2021-02-08
Author: tudorcebere@gmail.com
File Name: src/syft/core/node/common/action/function_or_constructor_action.py
Class Name: RunFunctionOrConstructorAction
Method Name: execute_action