MCPcopy Create free account
hub / github.com/pyinvoke/invoke / _task_to_dict

Method _task_to_dict

tests/task.py:279–280  ·  view source on GitHub ↗
(self, task)

Source from the content-addressed store, hash-verified

277 return ret
278
279 def _task_to_dict(self, task):
280 return self._arglist_to_dict(task.get_arguments())
281
282 def positional_args_come_first(self):
283 assert self.args[0].name == "arg_3"

Calls 2

_arglist_to_dictMethod · 0.95
get_argumentsMethod · 0.80

Tested by

no test coverage detected