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

Method uses_MyTask

tests/task.py:154–156  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

152 pass
153
154 def uses_MyTask(*args, **kwargs):
155 kwargs.setdefault("klass", MyTask)
156 return task(*args, **kwargs)
157
158 @uses_MyTask
159 def mytask(c):

Callers

nothing calls this directly

Calls 2

taskFunction · 0.90
setdefaultMethod · 0.45

Tested by

no test coverage detected