mik-laj commented on a change in pull request #9676:
URL: https://github.com/apache/airflow/pull/9676#discussion_r449924335



##########
File path: airflow/models/dagbag.py
##########
@@ -107,7 +107,7 @@ def size(self):
 
     @property
     def dag_ids(self) -> List[str]:
-        return self.dags.keys()
+        return list(self.dags.keys())

Review comment:
       setf.dags.keys returns 
[KeysView](https://docs.python.org/3/library/collections.abc.html#collections.abc.KeysView).
 We want to have an non-llive object.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to