ec3feda5e1eaf5f60c71bec964a6e46cacb1089b,polyaxon_client/project.py,ProjectClient,list_experiments,#ProjectClient#Any#Any#,93

Before Change



        try:
            response = self.get(request_url, params=self.get_page(page=page))
            experiment_dicts = response.json()
            return [ExperimentConfig.from_dict(experiment_group)
                    for experiment_group in experiment_dicts.get("results", [])]
        except PolyaxonException as e:
            self.handle_exception(e=e, log_message="Error while retrieving experiments")
            return []

After Change



        try:
            response = self.get(request_url, params=self.get_page(page=page))
            return self.prepare_list_results(response.json(), page, ExperimentConfig)
        except PolyaxonException as e:
            self.handle_exception(e=e, log_message="Error while retrieving experiments")
            return []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 14

Instances


Project Name: polyaxon/polyaxon
Commit Name: ec3feda5e1eaf5f60c71bec964a6e46cacb1089b
Time: 2017-12-12
Author: mouradmourafiq@gmail.com
File Name: polyaxon_client/project.py
Class Name: ProjectClient
Method Name: list_experiments


Project Name: polyaxon/polyaxon
Commit Name: ec3feda5e1eaf5f60c71bec964a6e46cacb1089b
Time: 2017-12-12
Author: mouradmourafiq@gmail.com
File Name: polyaxon_client/experiment.py
Class Name: ExperimentClient
Method Name: list_experiments


Project Name: polyaxon/polyaxon
Commit Name: ec3feda5e1eaf5f60c71bec964a6e46cacb1089b
Time: 2017-12-12
Author: mouradmourafiq@gmail.com
File Name: polyaxon_client/project.py
Class Name: ProjectClient
Method Name: list_projects


Project Name: polyaxon/polyaxon
Commit Name: ec3feda5e1eaf5f60c71bec964a6e46cacb1089b
Time: 2017-12-12
Author: mouradmourafiq@gmail.com
File Name: polyaxon_client/experiment.py
Class Name: ExperimentClient
Method Name: list_jobs


Project Name: polyaxon/polyaxon
Commit Name: ec3feda5e1eaf5f60c71bec964a6e46cacb1089b
Time: 2017-12-12
Author: mouradmourafiq@gmail.com
File Name: polyaxon_client/project.py
Class Name: ProjectClient
Method Name: list_experiment_groups


Project Name: polyaxon/polyaxon
Commit Name: ec3feda5e1eaf5f60c71bec964a6e46cacb1089b
Time: 2017-12-12
Author: mouradmourafiq@gmail.com
File Name: polyaxon_client/experiment_group.py
Class Name: ExperimentGroupClient
Method Name: list_experiments