We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5d871 commit 2ef3b7eCopy full SHA for 2ef3b7e
βairflow/providers/google/cloud/transfers/gcs_to_local.py
@@ -137,7 +137,7 @@ def execute(self, context):
137
if self.store_to_xcom_key:
138
file_bytes = hook.download(bucket_name=self.bucket, object_name=self.object)
139
if sys.getsizeof(file_bytes) < MAX_XCOM_SIZE:
140
- context['ti'].xcom_push(key=self.store_to_xcom_key, value=file_bytes)
+ context['ti'].xcom_push(key=self.store_to_xcom_key, value=str(file_bytes))
141
else:
142
raise AirflowException('The size of the downloaded file is too large to push to XCom!')
143
0 commit comments