FrankYang0529 opened a new pull request, #77228: URL: https://github.com/apache/airflow/pull/77228
This PR is a follow-up to #75542. - Add `ValueBinder`, which converts values for task arguments, `getConf` and the new typed `getXCom`. `ValueBinder` replaces `ConfBinding`. - Add typed `getXCom` overloads that take a `Class` or a `TypeRef` as the last argument. - Match keys to field names inside Jackson. A `BeanDeserializerModifier` wraps each bean deserializer. The wrapper renames the keys of an object just before Jackson reads the object field by field. So keys match the fields of the class that Jackson reads the object into, such as a subtype that `@JsonTypeInfo` picks or the class of a `@JsonUnwrapped` field. A custom deserializer gets the keys as written. - Make `@ArgName` apply to every class that the SDK reads a value into. A field with `@ArgName` no longer matches a key with the field's Java name. --- ##### Was generative AI tooling used to co-author this PR? <!-- If generative AI tooling has been used in the process of authoring this PR, please change below checkbox to `[X]` followed by the name of the tool, uncomment the "Generated-by". --> - [X] Yes - Claude Code <!-- Generated-by: [Tool Name] following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) --> -- 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]
