MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / check

Method check

Solutions/4_2/validate.py:3–4  ·  view source on GitHub ↗
(cls, value)

Source from the content-addressed store, hash-verified

1class Validator:
2 @classmethod
3 def check(cls, value):
4 return value
5
6class Typed(Validator):
7 expected_type = object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected