onlyarnav commented on PR #68543:
URL: https://github.com/apache/airflow/pull/68543#issuecomment-4718107145

   1. **`assert hook is not None`** added after every `hook = 
self.operator._hook` across all four backend classes (and inline calls like 
`self.operator._hook.on_kill()` were split into two lines first).
   
   2. **`self._cached_resumable_backend: SparkSubmitResumableBackend | None = 
None`** added in `__init__`.
   
   3. **`_resumable_backend` property** — `hasattr` replaced with `if 
self._cached_resumable_backend is not None`, and `backend: 
SparkSubmitResumableBackend` declared before the if/elif/else block.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to