lbny22727-create commented on PR #62922: URL: https://github.com/apache/airflow/pull/62922#issuecomment-7229557641
في السبت، ٢٨ نوفمبر ٢٠٢٦، ١٢:٣٩ ص David Blain ***@***.***> كتب: > ***@***.**** commented on this pull request. > ------------------------------ > > In task-sdk/src/airflow/sdk/definitions/iterableoperator.py > <https://github.com/apache/airflow/pull/62922#discussion_r4724145858>: > > > + ) > + if unmapped_task.params != self._params: > + # Processed as a mapped task instance's are; the parent's processed params, which > + # clone_context copies into every indexed context, stand for any other index. > + indexed_ti.own_params = process_params( > + context["dag"], unmapped_task, context["dag_run"].conf, suppress_exception=False > + ) > + > + # Rendered against the context the indexed task will execute with (its own ti, task, params > + # and store view), not the parent's: a template must read the same values as execute() does. > + unmapped_task._do_render_template_fields( > + parent=unmapped_task, > + template_fields=self._mapped_operator.template_fields, > + context=indexed_ti.context_for(context), > + jinja_env=self._jinja_env, > + seen_oids=set(), > > Correct, fixed in ba08899 > <https://github.com/apache/airflow/commit/ba0889981d61280c88d287460147e56e20aa587e>. > Rather than changing what aget returns, each expand input now has > get_resolved_oids(kwargs), the rule resolve() applied at its end; > resolve() uses it too, and unmap passes it as seen_oids. > > One difference I kept on purpose: .expand_kwargs() renders upstream > values today, since its filter only skips values that are still an XComArg > or MappedArgument, and the resolved mapping holds plain data. So > iterate_kwargs() does the same, to stay in line with it. If that is > considered a bug, I'd rather change both in a separate PR. > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/airflow/pull/62922?email_source=notifications&email_token=CJWJ6MF7ZDWPJWE674VKL3353H7BDA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTMMBZGM4TSNJUGAZKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussion_r4724145858>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/CJWJ6MGT4J5PGJZV4X57USD53H7BDAVCNFSNUABEKJSXA33TNF2G64TZHMZTGOBYGQ4DSMJ3JFZXG5LFHM2DAMRXGAYDGNBVHGQXMAQ> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/CJWJ6MCKAYQVVCY64RQZP7T53H7BDA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTMMBZGM4TSNJUGAZKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSVGM33PORSXEX3JN5ZQ> > and Android > <https://github.com/notifications/mobile/android/CJWJ6MHSEMP5COSRF7HHNLL53H7BDA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTMMBZGM4TSNJUGAZKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>. > Download it today! > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> > -- 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]
