hussein-awala commented on code in PR #54891:
URL: https://github.com/apache/airflow/pull/54891#discussion_r2308690026


##########
task-sdk/src/airflow/sdk/execution_time/context.py:
##########
@@ -537,7 +538,10 @@ def __iter__(self) -> Iterator[Asset | AssetAlias]:
     def __len__(self) -> int:
         return len(self._inlets)
 
-    def __getitem__(self, key: int | Asset | AssetAlias | AssetRef) -> 
list[AssetEventResult]:
+    def __getitem__(
+        self,
+        key: int | Asset | AssetAlias | AssetRef | tuple[int | Asset | 
AssetAlias | AssetRef, dict[str, Any]],

Review Comment:
   I just updated the implementation as you suggested (I will fix mypy checks 
tomorrow)



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