simple-salesforce-deploy-sandbox-positional-arg-required

simple-salesforce’s SfdcMetadataApi.deploy() requires sandbox as the second positional argument — signature is deploy(self, zipfile, sandbox, **kwargs). Omitting it causes a silent failure or TypeError. The sandbox boolean must be derived from api_client.org_configs[org_alias]['type'] (values: 'production' or 'sandbox').