simple-salesforce-mdapi-deploy-returns-tuple-not-dict
SfdcMetadataApi.deploy() returns a Tuple[Optional[str], Optional[str]] of (deployment_id, state), not a dict. Calling result.get(‘id’) raises AttributeError: ‘tuple’ object has no attribute ‘get’. Unpack as deploy_id, state = await asyncio.to_thread(conn.mdapi.deploy, …) and use deploy_id directly.
Related
- simple-salesforce-mdapi-deploy-expects-path-or-bytesio-not-b
- simple-salesforce-deploy-sandbox-positional-arg-required
- simple-salesforce-mdapi-deploy-sandbox-positional-arg
- simple-salesforce-deploy-expects-filepath-not-base64
- sf-deploy-metadata-mcp-tool-bug-missing-sandbox-param
- mdapi-deploy-blocking-requires-asyncio-to-thread
- simple-salesforce-mdapi-deploy-expects-path-or-io-not-base64
- simple-salesforce-mdapi-methods-return-tuples-not-dicts
- sf-lwc-deploy-passes-dict-not-zip-preexisting-design-flaw
- simple-salesforce-deploy-expects-file-path-or-bytesio-not-ba
- salesforce-analytics-dashboard-create-api-expects-flat-json
- simple-salesforce-mdapi-returns-tuples-not-dicts
- sfdc-mdapi-methods-return-tuples-not-dicts