377051a2295a211b4e90509581ba9fcf5869520e,src/python/pants/backend/core/tasks/task.py,TaskBase,_options_fingerprint,#TaskBase#Any#,200

Before Change


    return self._workdir

  def _options_fingerprint(self, scope):
    return str(self.context.options.payload_for_scope(scope).fingerprint(context=self.context))

  @property
  def fingerprint(self):
    Returns a fingerprint for the identity of the task.

After Change



  def _options_fingerprint(self, scope):
    pairs = self.context.options.get_fingerprintable_for_scope(scope)
    hasher = sha1()
    for (option_type, option_val) in pairs:
      fp = self._options_fingerprinter.fingerprint(option_type, option_val)
      if fp is not None:
        hasher.update(fp)
    return hasher.hexdigest()

  @property
  def fingerprint(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 377051a2295a211b4e90509581ba9fcf5869520e
Time: 2015-07-30
Author: codyhgibb@gmail.com
File Name: src/python/pants/backend/core/tasks/task.py
Class Name: TaskBase
Method Name: _options_fingerprint


Project Name: pantsbuild/pants
Commit Name: 096b135b0b19f9425d97b1f77afb521f5b8584b5
Time: 2019-05-15
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/backend/python/subsystems/python_native_code.py
Class Name: PythonNativeCode
Method Name: check_build_for_current_platform_only


Project Name: CyberReboot/poseidon
Commit Name: 0732fa1af6376361c4ed77e7cf75725202a98309
Time: 2020-05-07
Author: josh@vandervecken.com
File Name: poseidon/helpers/redis.py
Class Name: PoseidonRedisClient
Method Name: get_stored_mac_metadata