9832c8f6d8b60648cf906775506864aad0ffdb33,src/python/pants/engine/legacy/structs.py,BaseGlobs,_gen_init_args_str,#BaseGlobs#,395

Before Change


    if positional_args:
      all_arg_strs.append(positional_args)
    keyword_args = ", ".join([
      "{}={}".format(k, repr(v)) for k, v in self._kwargs.items()
    ])
    if keyword_args:
      all_arg_strs.append(keyword_args)

After Change



  def _gen_init_args_str(self) -> str:
    all_arg_strs = []
    positional_args = ", ".join(repr(p) for p in self._patterns)
    if positional_args:
      all_arg_strs.append(positional_args)
    all_arg_strs.append(f"spec_path={self._spec_path}")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 9832c8f6d8b60648cf906775506864aad0ffdb33
Time: 2020-01-27
Author: ericarellano@me.com
File Name: src/python/pants/engine/legacy/structs.py
Class Name: BaseGlobs
Method Name: _gen_init_args_str


Project Name: pantsbuild/pants
Commit Name: 8ec8a7d4d8260c9da7f920cda61255d580e326ff
Time: 2020-02-03
Author: ericarellano@me.com
File Name: src/python/pants/bin/goal_runner.py
Class Name: GoalRunnerFactory
Method Name: __init__


Project Name: google/language-resources
Commit Name: 1a0c8ee08d03397b3e08d6421427afdcbde88945
Time: 2016-06-12
Author: mjansche@google.com
File Name: my/grapheme_cluster.py
Class Name:
Method Name: