

def _init_client(self):
    api_key = self._config['api_key']
    host = self._config['host']
    port = self._config['port']
    return OctopusDeployClient(api_key=api_key, host=host, port=port)

dataset/ETHPy150Open StackStorm/st2contrib/packs/octopusdeploy/sensors/lib/sensors.py OctopusDeploySensor._init_client/original