diff --git a/rasa_sdk/endpoint.py b/rasa_sdk/endpoint.py index a310ebe07..93d2e46be 100644 --- a/rasa_sdk/endpoint.py +++ b/rasa_sdk/endpoint.py @@ -114,6 +114,9 @@ def create_app( """ app = Sanic("rasa_sdk", configure_logging=False) + # Reset Sanic warnings filter that allows the triggering of Sanic warnings + warnings.filterwarnings("ignore", category=DeprecationWarning, module=r"sanic.*") + configure_cors(app, cors_origins) executor = ActionExecutor()