SparkClient Class

SparkClient.

Inheritance
builtins.object
SparkClient

Constructor

Parameters

credential
<xref:azure.core.credentials_async.AsyncTokenCredential>
Required

Credential needed for the client to connect to Azure.

endpoint
str
Required

The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.

spark_pool_name
str
Required

Name of the spark pool.

livy_api_version
str
Required

Valid api-version for the request.

Variables

spark_batch
SparkBatchOperations

SparkBatchOperations operations

spark_session
SparkSessionOperations

SparkSessionOperations operations

Methods

close

close

close() -> None