You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/21 08:24:06 UTC

[GitHub] [airflow] potiuk commented on a diff in pull request #25161: Robust context of dag parsing

potiuk commented on code in PR #25161:
URL: https://github.com/apache/airflow/pull/25161#discussion_r926396366


##########
airflow/executors/base_executor.py:
##########
@@ -332,10 +333,17 @@ def slots_available(self):
             return sys.maxsize
 
     @staticmethod
-    def validate_command(command: List[str]) -> None:
-        """Check if the command to execute is airflow command"""
+    def validate_command(command: List[str]) -> Tuple[Optional[str], Optional[str]]:

Review Comment:
   Crossed my mind too :)



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org