ashb commented on a change in pull request #17485:
URL: https://github.com/apache/airflow/pull/17485#discussion_r701837915



##########
File path: airflow/executors/debug_executor.py
##########
@@ -100,6 +103,14 @@ def queue_task_instance(
         cfg_path: Optional[str] = None,
     ) -> None:
         """Queues task instance with empty command because we do not need 
it."""
+        if mark_success is not None:
+            warnings.warn(
+                'The argument `mark_success` has been deprecated. Use 
`state=State.SUCCESS` instead.',
+                DeprecationWarning,

Review comment:
       ```suggestion
                   DeprecationWarning,
                   stacklevel=2,
   ```




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


Reply via email to