Official Tencent Cloud SDK for the Elastic MapReduce (EMR) service, enabling management of EMR clusters, jobs, and resources. Current version 3.1.89, updated frequently alongside the core SDK.
pip install tencentcloud-sdk-python-emrNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client and list EMR clusters.
Always set a valid region (e.g., 'ap-guangzhou').
Install tencentcloud-sdk-python-emr and tencentcloud-sdk-python-common separately. Use 'from tencentcloud.common import credential'.
Use credential.Credential(secret_id, secret_key) and pass it to the client.
Do not manually convert field names; use model instances with snake_case attributes.
pip install tencentcloud-sdk-python-common
Set TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY environment variables correctly.
Use 'from tencentcloud.emr.v20190103 import emr_client'.