simple-salesforce-mdapi-deploy-requires-sandbox-positional-arg

SfdcMetadataApi.deploy() requires sandbox as the 2nd positional argument — deploy(zipfile, sandbox, **kwargs). Omitting it causes a TypeError that surfaces as a confusing runtime failure. The sandbox boolean must be derived from org_configs[org_alias][‘type’] == ‘sandbox’ before the call.