dstandish commented on code in PR #25141:
URL: https://github.com/apache/airflow/pull/25141#discussion_r923893323
##########
airflow/www/utils.py:
##########
@@ -745,3 +747,25 @@ def should_show(self, securitymanager) -> bool:
if not user_roles.intersection(set(self.roles)):
return False
return True
+
+
+def get_dataset_triggered_next_run_info(dag_ids: List[str], session: Session)
-> Dict[str, Tuple[int, int]]:
Review Comment:
i am wary of adding public function here... because so new and i think the
likelihood is high we'll want to change / move / remove...
what do you think about making protected? also seems maybe better to keep
it in views.py since it's really specific to that and not more generally useful.
--
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]