Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/DetachHead/basedpyright
/ callbackProtocol4.py
File
callbackProtocol4.py
packages/pyright-internal/src/tests/samples/callbackProtocol4.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# This sample tests the case where a callback protocol uses
2
# an overloaded __call__ method.
3
4
from
typing
import
Any, Protocol, overload
Callers
nothing calls this directly
Calls
1
map
Class · 0.70
Tested by
no test coverage detected