seunggabi opened a new pull request, #29360:
URL: https://github.com/apache/airflow/pull/29360

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #29353
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   related: #29353
   
   ---
   > I want to use dag params on `TableauOperator`. So, I suggest this code.
   > 
   > ### as-is
   > ```python
   > task_refresh_workbook_blocking = TableauOperator(
   >     resource="workbooks",
   >     method="refresh",
   >     match_with="id",
   >     find="MyWorkbook",
   >     blocking_refresh=True,
   >     task_id="refresh_tableau_workbook_blocking",
   >     dag=dag,
   > )
   > ```
   > 
   > ### to-be
   > ```python
   > task_refresh_workbook_blocking = TableauOperator(
   >     resource="workbooks",
   >     method="refresh",
   >     match_with="{{ params.match_with }}",
   >     find="{{ params.find }}",
   >     blocking_refresh=True,
   >     task_id="refresh_tableau_workbook_blocking",
   >     dag=dag,
   > )
   > ```
   
   ---
   
   Please check this pr.
   THX very much.
   


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