vincbeck commented on code in PR #33213:
URL: https://github.com/apache/airflow/pull/33213#discussion_r1317858875
##########
airflow/auth/managers/base_auth_manager.py:
##########
@@ -102,3 +154,8 @@ def security_manager(self, security_manager:
AirflowSecurityManager):
:param security_manager: the security manager
"""
self._security_manager = security_manager
+
+ @staticmethod
+ def is_dag_resource(resource_type: ResourceType) -> bool:
+ """Determines if a resource relates to a DAG."""
+ return resource_type == ResourceType.DAG
Review Comment:
Done :). Feel free to take a look if you're interested :)
--
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]