simple-salesforce-mdapi-sync-calls-need-asyncio-to-thread
All conn.mdapi.* calls in simple-salesforce are synchronous and block the event loop when called from async functions. Every mdapi call must be wrapped in asyncio.to_thread(). 23 violations were found across metadata/operations.py, security/operations.py, integration/operations.py, and utilities/operations.py — a systemic pattern requiring full-file audits.
Related
- mdapi-deploy-blocking-requires-asyncio-to-thread
- salesforce-mcp-mdapi-calls-must-be-async-wrapped
- simple-salesforce-all-mdapi-calls-are-synchronous-must-wrap
- mdapi-sync-calls-require-asyncio-to-thread-wrapping
- salesforce
- mdapi-sync-calls-in-async-functions-require-asyncio-to-threa
- salesforce-quotation-mandatory-discounts-not-flowing-to-av
- simple-salesforce-mdapi-sync-must-wrap-asyncio-to-thread
- salesforce-mcp-23-mdapi-calls-missing-asyncio-to-thread
- mdapi-sync-calls-in-async-context-require-asyncio-to-thread
- salesforce-mcp-23-sync-mdapi-calls-in-async-context-law3-vio
- salesforce-mcp-server-api-v66-spring-26-latest
- all-mdapi-sync-calls-must-wrap-asyncio-to-thread
- sfdc-mdapi-async-wrapping-law3-requirement