Skip to content

Commit

Permalink
Accept task_key as an argument in DatabricksTaskBaseOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
hardeybisey committed Dec 17, 2024
1 parent 1834691 commit 0862491
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ def _generate_databricks_task_key(self, task_id: str | None = None) -> str:
task_id = task_id or self.task_id
task_key = f"{self.dag_id}__{task_id}".encode()
self._databricks_task_key = hashlib.md5(task_key).hexdigest()
self.log.info("Generated databricks task key: %s", task_key)
self.log.info("Generated databricks task key: %s", self._databricks_task_key)
return self._databricks_task_key

@property
Expand Down

0 comments on commit 0862491

Please sign in to comment.