Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dabeaz-course/python-mastery
/ isvalidator
Function
isvalidator
Solutions/7_6/validate.py:65–66 ·
view source on GitHub ↗
(item)
Source
from the content-addressed store, hash-verified
63
from
functools
import
wraps
64
65
def
isvalidator(item):
66
return
isinstance(item, type) and issubclass(item, Validator)
67
68
def
validated(func):
69
sig = signature(func)
Callers
1
validated
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected