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