Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ to_dict
Method
to_dict
src/packagedcode/models.py:1925–1928 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1923
)
1924
1925
def
to_dict(self):
1926
package_data = super().to_dict()
1927
package_data[
'resources'
] = [resource.to_dict()
for
resource in self.resources]
1928
return
package_data
1929
1930
1931
def
get_files_for_packages(codebase):
Callers
nothing calls this directly
Calls
1
to_dict
Method · 0.45
Tested by
no test coverage detected