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

Method __set_name__

Solutions/9_4/structly/validate.py:7–8  ·  view source on GitHub ↗
(self, cls, name)

Source from the content-addressed store, hash-verified

5 self.name = name
6
7 def __set_name__(self, cls, name):
8 self.name = name
9
10 @classmethod
11 def check(cls, value):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected