Taragolis commented on issue #35058:
URL: https://github.com/apache/airflow/issues/35058#issuecomment-1771113018

   ```python
   default_args = {
       "owner": "team_A",
       "depends_on_past": False,
       "start_date": datetime(2023, 10, 19),
       "urgency": "low",
   }
   ```
   I don't think it somehow involved `executor_config` here, see your traceback
   
   ```console
   airflow.exceptions.AirflowException: Invalid arguments were passed to 
_PythonDecoratedOperator (task_id: task_approach__1). Invalid arguments were:
   **kwargs: {'urgency': 'low'}
   ```
   
   I think you should not share default_args (DAG/TaskGroup) arguments with 
common use argument which might not exist, e.g. `urgency`. Or you might try to 
add `**kwargs` into the `task_approach`, e.g: 
   
   ```python
   def task_approach(calculation_params: dict, alarm_threshold: dict, **kwargs):
   ```


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