Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ Require
Method
Require
recipes/Python/580642_Dependency_resolution/recipe-580642.py:15–18 ·
view source on GitHub ↗
(self, pkg)
Source
from the content-addressed store, hash-verified
13
return
self.__str__()
14
15
def
Require(self, pkg):
16
if
str(pkg) in self.requires:
17
return
True
18
return
False
19
20
21
objs = []
Callers
1
recipe-580642.py
File · 0.80
Calls
1
str
Function · 0.85
Tested by
no test coverage detected