MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / get_dependency_chain

Function get_dependency_chain

aura/apip.py:53–60  ·  view source on GitHub ↗
(
    req,  # type: InstallRequirement
)

Source from the content-addressed store, hash-verified

51
52
53def get_dependency_chain(
54 req, # type: InstallRequirement
55):
56 chain = []
57 while req:
58 chain.append(req.name)
59 req = req.comes_from
60 return chain[::-1]
61
62
63def check_package(pkg):

Callers 1

mp_install_requirementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected