vincbeck commented on code in PR #49011:
URL: https://github.com/apache/airflow/pull/49011#discussion_r2035666002
##########
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:
But in case you are recreating it, I do not think this is necessary. That's
a lot of work for just this dict. Using `BaseSerialization` is cheaper
--
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]