MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / __getattr__

Method __getattr__

test/functional/test_framework/authproxy.py:88–94  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

86 self.__conn = http.client.HTTPConnection(self.__url.hostname, port, timeout=timeout)
87
88 def __getattr__(self, name):
89 if name.startswith('__') and name.endswith('__'):
90 # Python internal stuff
91 raise AttributeError
92 if self._service_name is not None:
93 name = "%s.%s" % (self._service_name, name)
94 return AuthServiceProxy(self.__service_url, name, connection=self.__conn)
95
96 def _request(self, method, path, postdata):
97 '''

Callers

nothing calls this directly

Calls 1

AuthServiceProxyClass · 0.85

Tested by

no test coverage detected