src/domain/fingerprint.py
BeforeProposed
+1−1
33
44
55def signature(definition, inputs):
6 identities = [[item['name'], item['name'] if item['isTarget'] else item['hash']] for item in inputs]
6 identities = [[item['name'], item['hash']] for item in inputs]
77 return document({'inputs': identities, 'recipe': definition['recipe'],
88 'tool': definition['tool'], 'environment': environment(definition)})