def METHOD_NAME(self):
    """Return url of the duckling service. Environment var will override."""
    if os.environ.get("RASA_DUCKLING_HTTP_URL"):
        return os.environ["RASA_DUCKLING_HTTP_URL"]
    return self.component_config.get("url")