marvinfretly commented on issue #26931: URL: https://github.com/apache/airflow/issues/26931#issuecomment-1276070123
> I don't think this is a bug in the operator. We even have a coverage for templating in the tests: > > https://github.com/apache/airflow/blob/d9db89a2d923e1242c32c3c372ddd1c06d58cacb/tests/providers/papermill/operators/test_papermill.py#L61-L73 > > so I doubt the issue is in the operator itself. @marvinfretly Please try minimal example: > > ``` > task_notebook = PapermillOperator( > task_id="hello", > input_nb=path, > output_nb=path2, > parameters={ > "execution_date": "{{ execution_date }}", > }) > ``` > > I suspect your issue is not a bug in the operator but wrong usage with how you pull from xcom / extract values from conf? Can you check these templating values with another operator to see if they get templated correctly? I downgraded to version 2.3.4 and it's working perfectly fine. I don't know how it is possible that the problem is on my script and not on the operator since it's working for older version -- 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]
