ashb commented on code in PR #52876:
URL: https://github.com/apache/airflow/pull/52876#discussion_r2185430603
##########
providers/git/src/airflow/providers/git/bundles/git.py:
##########
@@ -247,3 +246,41 @@ def view_url(self, version: str | None = None) -> str |
None:
if host == allowed_host or host.endswith(f".{allowed_host}"):
return template
return None
+
+ def view_url_template(self) -> str | None:
Review Comment:
The now deprecated `view_url` is very similar to this method. Is it worth
refactoring it so that `view_url` calls this fn and then renders the template?
--
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]