edd039bf98702f3eb01a7cd4e25559247e686a72,src/python/pants/engine/legacy/graph.py,LegacyBuildGraph,_inject,#LegacyBuildGraph#Any#,241

Before Change


    logger.debug("Injecting to %s: %s", self, subjects)
    request = self._scheduler.execution_request([HydratedTargets, BuildFileAddresses], subjects)

    result = self._engine.execute(request)
    if result.error:
      raise result.error
    // Update the base class indexes for this request.
    root_entries = result.root_products

After Change


      )

    // Update the base class indexes for this request.
    address_entries = dict(zip(subjects, product_results[BuildFileAddresses]))
    target_entries = dict(zip(subjects, product_results[HydratedTargets]))

    self._index(target_entries)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: edd039bf98702f3eb01a7cd4e25559247e686a72
Time: 2017-06-16
Author: stuhood@twitter.com
File Name: src/python/pants/engine/legacy/graph.py
Class Name: LegacyBuildGraph
Method Name: _inject


Project Name: horovod/horovod
Commit Name: 6404c7c172f6db3c65b45fca7d698a47b35f45f6
Time: 2020-09-08
Author: github@enrico.minack.dev
File Name: test/test_buildkite.py
Class Name: BuildKiteTests
Method Name: test_gen_pipeline


Project Name: bsmurphy/PyKrige
Commit Name: a00297a376f437ae9b17afc85c86b53d1e893c90
Time: 2020-08-07
Author: mueller.seb@posteo.de
File Name: pykrige/rk.py
Class Name: Krige
Method Name: execute