c5bdd246618f1f90ac156525debe6570f9292ec3,src/pudl/workspace/datastore.py,Datastore,get_resources,#Datastore#Any#,396

Before Change


                    r["path"] = str(local.relative_to(self.local_path(dataset)))
                    self.save_datapackage_json(dataset, dpkg)

                r["path"] = str(self.local_path(dataset, r["path"]))
                yield r


def main_arguments():

After Change


                    self.logger.debug(f"resource local relative path: {r["path"]}")
                    self.save_datapackage_json(dataset, dpkg)

                r_abspath = copy.deepcopy(r)
                r_abspath["path"] = str(local)
                yield r_abspath

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: c5bdd246618f1f90ac156525debe6570f9292ec3
Time: 2020-09-22
Author: zane.selvans@catalyst.coop
File Name: src/pudl/workspace/datastore.py
Class Name: Datastore
Method Name: get_resources


Project Name: comic/grand-challenge.org
Commit Name: 869d420ded61dce0ef4fd036cebf8f567915f69a
Time: 2019-04-08
Author: harm.van.zeeland@gmail.com
File Name: app/tests/retina_api_tests/test_viewsets.py
Class Name: TestSinglePolygonAnnotationViewSet
Method Name: test_partial_update_view


Project Name: facebookresearch/ParlAI
Commit Name: f64a694d1e10797a1b18c7a56633a6d90c4bf983
Time: 2018-06-21
Author: ahm@fb.com
File Name: parlai/scripts/eval_wordstat.py
Class Name:
Method Name: eval_wordstat