aminghadersohi opened a new pull request, #36038: URL: https://github.com/apache/superset/pull/36038
### SUMMARY Fixes FastMCP deprecation warning by moving `stateless_http` parameter from server creation to the `.run()` call. The deprecation warning was: "Providing stateless_http when creating a server is deprecated. Provide it when calling run or as a global setting instead." Changes: - Removed `stateless_http=True` from `create_mcp_app()` call in `app.py` - Added `stateless_http=True` to `.run()` calls in `__main__.py` and `server.py` for HTTP transport only ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF N/A - internal API change ### TESTING INSTRUCTIONS 1. Start the MCP service in HTTP mode 2. Verify no deprecation warning appears 3. Verify the service functions normally ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
