jedcunningham commented on code in PR #46501:
URL: https://github.com/apache/airflow/pull/46501#discussion_r1944161863
##########
airflow/dag_processing/bundles/base.py:
##########
@@ -112,3 +125,22 @@ def view_url(self, version: str | None = None) -> str |
None:
:param version: Version to view
:return: URL to view the bundle
"""
+
+ @contextmanager
+ def lock(self):
+ if self._locked:
+ yield
+ return
+
+ lock_dir_path = self._dag_bundle_root_storage_path / "locks"
Review Comment:
Yeah, fair! I'll do it after this test run.
--
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]