arvindp25 commented on issue #53030:
URL: https://github.com/apache/airflow/issues/53030#issuecomment-3049956495

   I think culprit is 
   
https://github.com/apache/airflow/blob/main/providers/google/src/airflow/providers/google/cloud/transfers/gcs_to_bigquery.py#L432
   `this line task_instance= self` need to be removed.
   
   So if you check new implementation of persist() here 
https://github.com/apache/airflow/pull/51576/files#diff-60c85bac3b33b51291b5a474f770ee500a83d69dd357affc85bb0dab6d31d498
   the argument task_instance was removed.
   
   further here 
https://github.com/apache/airflow/pull/51576/files#diff-60c85bac3b33b51291b5a474f770ee500a83d69dd357affc85bb0dab6d31d498
   here committers remove it but on line number 432 not.
   
   so task_instance  value is getting passed for serialization and failing with 
error.
   
   ----
   I'm happy to raise a small PR to fix this.


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