amazon_dash/execute.py
def get_url(self):
        """API url

        :return: url
        :rtype: str
        """
        url = self.data[self.execute_name]
        parsed = urlparse(url)
        if not parsed.scheme:
            url = '{}://{}'.format(self.default_protocol, url)
        if not url.split(':')[-1].isalnum():
            url += ':{}'.format(self.default_port)
        return url
def get_url(self):
        """API url

        :return: url
        :rtype: str
        """
        url = self.data[self.execute_name]
        parsed = urlparse(url)
        if not parsed.scheme:
            url = '{}://{}'.format(self.default_protocol, url)
        if not url.split(':')[-1].isalnum():
            url += ':{}'.format(self.default_port)
        return url
def get_url ( self ) : url = self . data [ self . execute_name ] parsed = urlparse ( url ) if not parsed . scheme : url = '{}://{}' . format ( self . default_protocol , url ) if not url . split ( ':' ) [ - 1 ] . isalnum ( ) : url += ':{}' . format ( self . default_port ) return url
API url

        :return: url
        :rtype: str
API url