Convenience constructor that builds the odsp.ODPS MaxCompute client from given parameters.
from_params(
cls,
endpoint: str,
project: str,
*,
access_id: Optional[str] = None,
secret_access_key: Optional[str] = None
) -> MaxComputeAPIWrapper| Name | Type | Description |
|---|---|---|
endpoint* | str | MaxCompute endpoint. |
project* | str | A project is a basic organizational unit of MaxCompute, which is similar to a database. |
access_id | Optional[str] | Default: NoneMaxCompute access ID. Should be passed in directly or set as the
environment variable |
secret_access_key | Optional[str] | Default: NoneMaxCompute secret access key. Should be passed in
directly or set as the environment variable
|