eladkal commented on issue #29366:
URL: https://github.com/apache/airflow/issues/29366#issuecomment-2155994464
> I also recently ran into this. Just wanted to share that the issue ends up
popping up as a dag parsing error on the UI:
>
> ```
> Broken DAG: [/opt/airflow/dags/dataeng/batch/test_dynamic_spark.py]
Traceback (most recent call last):
> File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/models/mappedoperator.py",
line 149, in __attrs_post_init__
> validate_mapping_kwargs(self.operator_class, "partial", self.kwargs)
> File
"/home/airflow/.local/lib/python3.9/site-packages/airflow/models/mappedoperator.py",
line 109, in validate_mapping_kwargs
> raise TypeError(f"{op.__name__}.{func}() got {error}")
> TypeError: BashOperator.partial() got unexpected keyword arguments
'project_id', 'gcp_conn_id', 'google_cloud_conn_id', 'impersonation_chain',
'auto_page_management', 'alert_in_test', 'abcdef'
> ```
>
> <img alt="image" width="1202"
src="https://user-images.githubusercontent.com/9200263/224366996-bd46daef-62f0-48d4-8caa-ec9c7c586f2c.png">
>
> I'm actively looking for workarounds 👀
@vchiapaikeo were you able to come up with a fix?
Havppy to review it if so
--
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]