sfdc-mdapi-methods-return-tuples-not-dicts
simple-salesforce SfdcMetadataApi methods return tuples, not dicts. deploy() returns Tuple[Optional[str], Optional[str]] (deployment_id, state). check_retrieve_status() returns a 3-tuple. Any code calling .get(‘id’) or .get(‘state’) on these results will raise AttributeError at runtime. Always destructure the tuple explicitly.