kaxil commented on a change in pull request #12091:
URL: https://github.com/apache/airflow/pull/12091#discussion_r517414161



##########
File path: airflow/configuration.py
##########
@@ -229,21 +225,27 @@ def _validate_config_dependencies(self):
         Validate that config values aren't invalid given other config values
         or system-level limitations and requirements.
         """
-        if (
-                self.get("core", "executor") not in ('DebugExecutor', 
'SequentialExecutor') and
-                "sqlite" in self.get('core', 'sql_alchemy_conn')):
+        is_executor_without_sqlie_support = self.get("core", "executor") not 
in (
+            'DebugExecutor',
+            'SequentialExecutor',
+        )
+        is_sqlite = "sqlite" in self.get('core', 'sql_alchemy_conn')
+        if is_executor_without_sqlie_support and is_sqlite:

Review comment:
       ```suggestion
           if is_executor_without_sqlite_support and is_sqlite:
   ```




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