kiros19 commented on issue #54610:
URL: https://github.com/apache/airflow/issues/54610#issuecomment-3210256395
@amoghrajesh
Checked it - same result. The code I use seems correct:
@task
def tst_xcom(**context):
ti = context['ti']
xcom = ti.xcom_pull(task_ids='tst_xcom', dag_id='tst_dag', key='ll',
include_prior_dates=True)
logger.info(f'prev_xcom: {xcom}')
import pendulum
ti.xcom_push(key='ll', value=f'll_{str(pendulum.now())}')
--
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]