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


            )
            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])

        (
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: tryolabs/luminoth
Commit Name: 35999e65a83c8b9f67b833623a5b9ce47af7cc71
Time: 2017-09-19
Author: javirey@gmail.com
File Name: luminoth/utils/training.py
Class Name:
Method Name: get_learning_rate


Project Name: tryolabs/luminoth
Commit Name: 35999e65a83c8b9f67b833623a5b9ce47af7cc71
Time: 2017-09-19
Author: javirey@gmail.com
File Name: luminoth/utils/training.py
Class Name:
Method Name: get_optimizer