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

Method to_dict

src/cluecode/copyrights.py:451–455  ·  view source on GitHub ↗

Return a dict of primitive Python types.

(self)

Source from the content-addressed store, hash-verified

449class Detection:
450
451 def to_dict(self):
452 """
453 Return a dict of primitive Python types.
454 """
455 return attr.asdict(self)
456
457 @classmethod
458 def split(cls, detections, to_dict=False):

Callers 2

from_resourceMethod · 0.45
splitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected