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

Method split_values

src/cluecode/copyrights.py:479–488  ·  view source on GitHub ↗

Return a list of copyright strings, a list of holder strings and a list of author strings given a ``detections`` list of Detection.

(cls, detections)

Source from the content-addressed store, hash-verified

477
478 @classmethod
479 def split_values(cls, detections):
480 """
481 Return a list of copyright strings, a list of holder strings and a
482 list of author strings given a ``detections`` list of Detection.
483 """
484 copyrights, holders, authors = cls.split(detections)
485 copyrights = [det.copyright for det in copyrights]
486 holders = [det.holder for det in holders]
487 authors = [det.author for det in authors]
488 return copyrights, holders, authors
489
490
491@attr.s(slots=True)

Callers 2

get_ignorablesFunction · 0.80
closure_test_functionFunction · 0.80

Calls 1

splitMethod · 0.45

Tested by 1

closure_test_functionFunction · 0.64