MCPcopy Index your code
hub / github.com/pyinvoke/invoke / _load

Method _load

tests/task.py:24–26  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

22 "@task"
23
24 def _load(self, name):
25 mod, _ = self.loader.load(name)
26 return Collection.from_module(mod)
27
28 def setup_method(self):
29 self.loader = Loader(start=support)

Callers 3

setup_methodMethod · 0.95
has_autoprint_optionMethod · 0.95

Calls 2

from_moduleMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected