in src/openwhisk/openwhisk.py [0:0]
def api_url(self): return urllib.parse.urlparse(self.options['api'] if self.options['api'].endswith('/') else self.options['api'] + '/')