21abe297e0b16aa5038cc8d57dbc06b74b13c884,contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py,ScroogeGen,synthetic_target_extra_dependencies,#ScroogeGen#Any#Any#,210

Before Change


    self._depinfo = ScroogeGen.DepInfo(self._resolve_deps(self.get_options().service_deps),
                                       self._resolve_deps(self.get_options().structs_deps))
    language = self._thrift_defaults.language(target)
    deps = OrderedSet(self._depinfo.service[language] if has_service
                      else self._depinfo.structs[language])
    deps.update(target.dependencies)
    return deps

  @property

After Change


    return _TARGET_TYPE_FOR_LANG[language]

  def synthetic_target_extra_dependencies(self, target, target_workdir):
    deps = OrderedSet(self._thrift_dependencies_for_target(target))
    deps.update(target.dependencies)
    return deps

  def _thrift_dependencies_for_target(self, target):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 21abe297e0b16aa5038cc8d57dbc06b74b13c884
Time: 2016-05-02
Author: nhoward@twopensource.com
File Name: contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py
Class Name: ScroogeGen
Method Name: synthetic_target_extra_dependencies


Project Name: pantsbuild/pants
Commit Name: c2950cb961523d2d884f2388eaee6d1ec511faea
Time: 2020-01-31
Author: ericarellano@me.com
File Name: src/python/pants/init/specs_calculator.py
Class Name: SpecsCalculator
Method Name: parse_specs


Project Name: pantsbuild/pants
Commit Name: 293b31e7adc0993926864e66134bae2b53a9934c
Time: 2014-11-10
Author: zundel@squareup.com
File Name: src/python/pants/backend/codegen/tasks/protobuf_gen.py
Class Name: ProtobufGen
Method Name: genlang