fhenrywells commented on code in PR #27491:
URL: https://github.com/apache/airflow/pull/27491#discussion_r1056498901


##########
tests/models/test_dagrun.py:
##########
@@ -2009,3 +2009,41 @@ def execute(self, context):
         ti.run()
 
     assert sorted(results) == expected
+
+
+def test_mapped_task_group_expands(dag_maker, session):
+    with dag_maker(session=session):
+
+        @task_group
+        def tg(x, y):
+            return MockOperator(task_id="task_2", arg1=x, arg2=y)

Review Comment:
   @uranusjr do you know if it is possible to inspect any of the Mapped 
Arguments' fields within the task group here at runtime? I'm trying to and I 
get a type error saying MappedArgument is not subscriptable when trying to 
index into a dictionary arg



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