Taragolis commented on code in PR #39090:
URL: https://github.com/apache/airflow/pull/39090#discussion_r1589973452
##########
tests/conftest.py:
##########
@@ -905,6 +906,12 @@ def __call__(
else:
DEFAULT_DATE = timezone.datetime(2016, 1, 1)
self.start_date = DEFAULT_DATE
+
+ # Handle deprecated argument `concurrency` for DAG class
+ # If "concurrency" is defined, replace it with "max_active_tasks"
+ if concurrency:
+ self.kwargs["max_active_tasks"] = concurrency
+ self.kwargs.pop("concurrency")
Review Comment:
So feel free to raise an error e.g RuntimeError (with description, that this
argument is deprecated in AIrflow) and replace in particular this test.
We still run in full tests, but just in case
--
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]