MCPcopy Create free account
hub / github.com/apple/ml-pointersect / __getattr__

Method __getattr__

cdslib/core/utils/argparse_utils.py:182–186  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

180 return super().get(key, default)
181
182 def __getattr__(self, name: str) -> T.Any:
183 try:
184 return self[name]
185 except KeyError:
186 raise AttributeError(name)
187
188 def __setattr__(self, name: str, value: T.Any) -> None:
189 self[name] = value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected