airflow.providers.databricks.utils.databricks

Module Contents

Functions

deep_string_coerce(content, json_path = 'json')

Coerces content or all values of content if it is a dict to a string. The

validate_trigger_event(event)

Validates correctness of the event

airflow.providers.databricks.utils.databricks.deep_string_coerce(content, json_path='json')[source]

Coerces content or all values of content if it is a dict to a string. The function will throw if content contains non-string or non-numeric types. The reason why we have this function is because the self.json field must be a dict with only string values. This is because render_template will fail for numerical values.

airflow.providers.databricks.utils.databricks.validate_trigger_event(event)[source]

Validates correctness of the event received from DatabricksExecutionTrigger

Was this entry helpful?