The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
1.16.16
flytekitplugins.spark.utils
Directory
Methods
| Method | Description |
|---|---|
is_serverless_config() |
Detect if the Databricks configuration is for serverless compute. |
Methods
is_serverless_config()
def is_serverless_config(
databricks_conf: dict,
) -> boolDetect if the Databricks configuration is for serverless compute.
Serverless is indicated by having environment_key or environments
without any cluster config (existing_cluster_id or new_cluster).
| Parameter | Type | Description |
|---|---|---|
databricks_conf |
dict |
The databricks job configuration dict. |
Returns: bool: True if the configuration targets serverless compute.