dabla commented on code in PR #62922:
URL: https://github.com/apache/airflow/pull/62922#discussion_r2891991754
##########
task-sdk/src/airflow/sdk/execution_time/lazy_sequence.py:
##########
@@ -166,6 +166,60 @@ def __getitem__(self, key: int | slice) -> T | Sequence[T]:
return XCom.deserialize_value(_XComWrapper(msg.root))
[email protected]
+class XComIterable(Sequence):
+ """An iterable that lazily fetches XCom values one by one instead of
loading all at once."""
Review Comment:
Done
--
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]