uranusjr commented on code in PR #77080:
URL: https://github.com/apache/airflow/pull/77080#discussion_r4704533224
##########
airflow-core/adr/lang-sdk/0016-mapped-tasks-across-lang-sdks.md:
##########
@@ -338,7 +349,7 @@ Before the runtime starts, the supervisor turns every
binding into what the runt
| `literal` | passes it on | `literal` |
| `xcom` | GETs the row through the XCom backend, then takes `element_index`
when set | `literal` |
| `tuple` | reads every part and puts them in one array, in zip order |
`literal` |
-| any of these with `kwarg`, no `apply_map` | then takes that key, else reads
`fallback`; with neither, fails the task | `literal` |
+| any of these with `kwarg`, no `apply_map` | then takes that key, else reads
`fallback`; with neither, fails the task. Fails the task on a key of the dict
that no `kwarg` binding names | `literal` |
Review Comment:
Settled in the ADR now. Under `expand_kwargs()`, a `partial()` argument is
always a plain binding (no kwarg), so fallback is only the signature default. A
dict with only `partial()` parameters (equivalent to Python's
`foo.partial(...).expand_kwargs([{}]`) goes through the same check with no
allowed keys.
--
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]