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

   When using any of the DataflowJob sensors 
([example](https://github.com/apache/airflow/blob/9c73b3f7fc1d18925d0ed09e8719f53b8147b0f2/airflow/providers/google/cloud/example_dags/example_dataflow.py#L176-L181)),
 the `dataflow_job_id` key is used to extract the dataflow job id from the job 
returned by the dataflow task. This results in the error shown below
   ```
   jinja2.exceptions.UndefinedError: 'dict object' has no attribute 
'dataflow_job_id'
   ```
   The key that contains the job id is `id`. [Dataflow REST API 
reference](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#Job)
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a 
newsfragment file, named `{pr_number}.significant.rst` or 
`{issue_number}.significant.rst`, in 
[newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to