simple-salesforce-deploy-signature-sandbox-second-positional
SfdcMetadataApi.deploy() signature is deploy(self, zipfile, sandbox, **kwargs) — sandbox is the second positional argument, not a keyword. Omitting it causes silent failures; the method also expects a file path or IO[bytes] object, not a base64-encoded string. Decode base64 to bytes and wrap in io.BytesIO before passing.
Related
- simple-salesforce-mdapi-deploy-expects-path-or-bytesio-not-b
- simple-salesforce-deploy-expects-fileobj-not-base64
- simple-salesforce-deploy-sandbox-positional-arg-required
- simple-salesforce-mdapi-deploy-expects-path-or-io-not-base64
- simple-salesforce-deploy-expects-filepath-not-base64
- simple-salesforce-deploy-requires-sandbox-positional-arg
- simple-salesforce-deploy-expects-io-bytes-not-base64
- simple-salesforce-deploy-requires-sandbox-bool-and-bytesio
- simple-salesforce-deploy-requires-sandbox-bool-and-bytes-io
- simple-salesforce-mdapi-deploy-expects-file-path-or-io-not-b
- simple-salesforce-deploy-accepts-io-bytes-not-base64