MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / __init__

Method __init__

ideone/__init__.py:29–36  ·  view source on GitHub ↗
(self, user, password, api_url=None)

Source from the content-addressed store, hash-verified

27 ERROR_OK = 'OK'
28
29 def __init__(self, user, password, api_url=None):
30 self.user = user
31 self.password = password
32 self.api_url = api_url if api_url else 'https://ideone.com/api/1/service.wsdl'
33 self._import = Import('http://schemas.xmlsoap.org/soap/encoding/')
34 self._doctor = ImportDoctor(self._import)
35 self.client = Client(self.api_url, doctor=self._doctor)
36 self._language_dict = None
37
38 @staticmethod
39 def _transform_to_dict(result):

Callers

nothing calls this directly

Calls 3

ImportClass · 0.90
ImportDoctorClass · 0.90
ClientClass · 0.90

Tested by

no test coverage detected