def METHOD_NAME(self):
    widget = self.get_widget()
    widget.sig_started.connect(self.sig_started)
    widget.sig_finished.connect(self.sig_finished)
    self.executor_configuration = [
        {
            'input_extension': ['py', 'ipy'],
            'context': {
                'name': 'File'
            },
            'output_formats': [],
            'configuration_widget': ProfilerPyConfigurationGroup,
            'requires_cwd': True,
            'priority': 3
        },
    ]