Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyinvoke/invoke
/ has_default_flag
Method
has_default_flag
tests/task.py:209–210 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
207
208
class
attributes:
209
def
has_default_flag(self):
210
assert Task(_func).is_default is False
211
212
def
name_defaults_to_body_name(self):
213
assert Task(_func).name ==
"_func"
Callers
nothing calls this directly
Calls
1
Task
Class · 0.90
Tested by
no test coverage detected