ashb commented on code in PR #49011:
URL: https://github.com/apache/airflow/pull/49011#discussion_r2035645007
##########
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:
Is it? This one should be a simple list or dict, in which case not having to
inflate the whole real dag would be preferable. That was an escape hatch, but I
don't think we should need that here.
--
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]