azure.synapse.spark package

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

SparkClient.

Variables
Parameters
  • credential (TokenCredential) – 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.

close()None[source]