potiuk commented on a change in pull request #6950: [AIRFLOW-6392] Remove
cyclic dependency baseoperator <-> helpers
URL: https://github.com/apache/airflow/pull/6950#discussion_r362009498
##########
File path: tests/models/test_baseoperator.py
##########
@@ -241,7 +243,46 @@ def test_default_resources(self):
task = DummyOperator(task_id="default-resources")
self.assertIsNone(task.resources)
+ # noinspection PyUnresolvedReferences
Review comment:
It's the qty field. The type hints are missing for Resource type clases and
Intellij derives them from __init__ (names of __init__ parameters are the same
even though they are different type long <> Resource. I will remove it and
create an issue to fix type hints in the Resource classes.
----------------------------------------------------------------
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]
With regards,
Apache Git Services