Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyinvoke/invoke
/ may_be_given
Method
may_be_given
tests/task.py:470–471 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
468
assert Call(_).called_as is None
469
470
def
may_be_given(self):
471
assert Call(_, called_as=
"foo"
).called_as ==
"foo"
472
473
class
args:
474
def
defaults_to_empty_tuple(self):
Callers
nothing calls this directly
Calls
1
Call
Class · 0.90
Tested by
no test coverage detected