MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / update

Method update

src/licensedcode/models.py:413–415  ·  view source on GitHub ↗
(self, mapping)

Source from the content-addressed store, hash-verified

411 return join(licenses_data_dir, f'{self.key}.LICENSE')
412
413 def update(self, mapping):
414 for k, v in mapping.items():
415 setattr(self, k, v)
416
417 def __copy__(self):
418 oldl = self.to_dict()

Callers 14

__copy__Method · 0.95
to_dictMethod · 0.45
process_detectionsFunction · 0.45
is_goodMethod · 0.45
dumpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected