mik-laj commented on pull request #10163:
URL: https://github.com/apache/airflow/pull/10163#issuecomment-669659635


   *args cannot follow keyword arguments. This code is invalid and needs to be 
fixed.
   ```
   --- a/airflow/providers/qubole/operators/qubole_check.py
   +++ b/airflow/providers/qubole/operators/qubole_check.py
   @@ -101,7 +101,7 @@ class QuboleCheckOperator(CheckOperator, QuboleOperator):
            if hasattr(self, 'hook') and (self.hook is not None):
                return self.hook
            else:
   -            return QuboleCheckHook(context=context, *self.args, 
**self.kwargs)
   +            return QuboleCheckHook(context=context, **self.kwargs)
   
        def __getattribute__(self, name):
            if name in QuboleCheckOperator.template_fields:
   ```


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