azure.synapse.spark.aio package

class azure.synapse.spark.aio.SparkClient(credential: AsyncTokenCredential, endpoint: str, spark_pool_name: str, livy_api_version: str = '2019-11-01-preview', **kwargs: Any)[source]

SparkClient.

Variables
Parameters
  • credential (AsyncTokenCredential) – Credential needed for the client to connect to Azure.

  • endpoint (str) – The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.

  • spark_pool_name (str) – Name of the spark pool.

  • livy_api_version (str) – Valid api-version for the request.

Keyword Arguments

polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

async close()None[source]