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

Method __init__

Solutions/6_5/validate.py:2–3  ·  view source on GitHub ↗
(self, name=None)

Source from the content-addressed store, hash-verified

1class Validator:
2 def __init__(self, name=None):
3 self.name = name
4
5 def __set_name__(self, cls, name):
6 self.name = name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected