Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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"
Callers
3
autocreated_short_flags_can_be_disabled
Method · 0.95
autocreated_shortflags_dont_collide
Method · 0.95
early_auto_shortflags_shouldnt_lock_out_real_shortflags
Method · 0.95
Calls
2
_arglist_to_dict
Method · 0.95
get_arguments
Method · 0.80
Tested by
no test coverage detected