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

Method to_dict

src/commoncode/resource.py:209–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

207 extra_data = Mapping(help="Mapping of extra key/values for this tool.")
208
209 def to_dict(self):
210 return attr.asdict(self, dict_factory=dict)
211
212 @classmethod
213 def from_dict(cls, **kwargs):

Callers 2

get_headersMethod · 0.45
to_listMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected