How to convert XComArg to string values in Airflow 2.x?

Code: from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults from airflow.providers.google.cloud.hooks.gcs import GCSHook class GCSUploadOperator(BaseOperator): @apply_defaults def __init__( self, bucket_name, target_file_name, data_as_str, gcp_conn_id="google_cloud_default", *args, **kwargs, ): super(GCSUploadOperator, self).__init__(*args, **kwargs) self.bucket_name…
View Post