MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / main

Function main

tools/generate_sbom_requirements.py:63–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def main() -> None:
64 root = Path(__file__).parent.parent.resolve()
65
66 files = collect_files(root)
67 if not files:
68 raise FileNotFoundError(f"No requirement files found from {root}")
69
70 outpath = write_combined_req_files(root, files, "sbom-requirements.txt")
71 print(f"Wrote concatenated requirements to: {outpath}")
72
73
74if __name__ == "__main__":

Callers 1

Calls 2

collect_filesFunction · 0.85
write_combined_req_filesFunction · 0.85

Tested by

no test coverage detected