ashb commented on code in PR #49011:
URL: https://github.com/apache/airflow/pull/49011#discussion_r2036996462
##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -1944,6 +1944,11 @@ def next_dagrun_info(self, *args, **kwargs) ->
DagRunInfo | None:
# This function is complex to implement, for now we delegate
deserialize the dag and delegate to that.
return self._real_dag.next_dagrun_info(*args, **kwargs)
+ @property
+ def access_control(self) -> Mapping[str, Mapping[str, Collection[str]] |
Collection[str]] | None:
+ # This function is complex to implement, for now we delegate
deserialize the dag and delegate to that.
Review Comment:
Different parts/processes use different things -- next_dagrun_info is used
in the scheduler, but access control is the UI which (I don't think) ever calls
next_dagrun_info.
--
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]