MCPcopy
hub / github.com/alievk/avatarify-python / __getattr__

Method __getattr__

afy/predictor_remote.py:66–68  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

64 return self._send_recv_async('__init__', self.predictor_args, critical=True)
65
66 def __getattr__(self, attr):
67 is_critical = attr != 'predict'
68 return lambda *args, **kwargs: self._send_recv_async(attr, (args, kwargs), critical=is_critical)
69
70 def _send_recv_async(self, method, args, critical):
71 self._i_msg += 1

Callers

nothing calls this directly

Calls 1

_send_recv_asyncMethod · 0.95

Tested by

no test coverage detected