SparkClient Class
SparkClient.
- Inheritance
-
builtins.objectSparkClient
Constructor
SparkClient(credential: AsyncTokenCredential, endpoint: str, spark_pool_name: str, livy_api_version: str = '2019-11-01-preview', **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. |
endpoint
Required
|
The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net. |
spark_pool_name
Required
|
Name of the spark pool. |
livy_api_version
|
Valid api-version for the request. default value: 2019-11-01-preview
|
Variables
Name | Description |
---|---|
spark_batch
|
SparkBatchOperations operations |
spark_session
|
SparkSessionOperations operations |
Methods
close |
close
async close() -> None
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for