Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ TypeAssertTransformVisitor
Class
TypeAssertTransformVisitor
mypy/test/visitors.py:60–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
59
# from testtransform
60
class
TypeAssertTransformVisitor(TransformVisitor):
61
def
type(self, type: Type) -> Type:
62
assert type is not None
63
return
type
Callers
1
test_transform
Function · 0.90
Calls
no outgoing calls
Tested by
1
test_transform
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…