Skip to content

Conversation

@sjyangkevin
Copy link
Contributor

@sjyangkevin sjyangkevin commented Sep 30, 2025

Related to: #56215

Why

The documentation for Serialization is out-dated after the changes introduced from the following PRs:

  1. Re-create PR for Enable Serde for Pydantic BaseModel and Subclasses #52360
  2. Enable Serde for Pydantic BaseModel and Subclasses #51059

This PR updates the document to reflect those changes in the Registered section, as well as fixing a small issue in the Airflow Object section (In the deserialize method, the class should be initialized with both a and v).

The document update might need to be backport into 3.1 or 3.0.

Document Build Output

Airflow Object section
Screenshot from 2025-09-30 16-51-00

Registered section
Screenshot from 2025-09-30 16-50-43


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@sjyangkevin sjyangkevin changed the title update serializer document to reflect the latest change in codebase update Serialization document to reflect the latest change in codebase Sep 30, 2025
@sjyangkevin
Copy link
Contributor Author

Hi @kaxil , @bolkedebruin , would you mind also review this PR which update the Serialization document? Thanks!

@kaxil kaxil added this to the Airflow 3.1.1 milestone Oct 17, 2025
@kaxil
Copy link
Member

kaxil commented Oct 17, 2025

@bolkedebruin does this look good to you?

@potiuk potiuk merged commit c2bccf1 into apache:main Oct 19, 2025
62 checks passed
@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Oct 19, 2025
github-actions bot pushed a commit that referenced this pull request Oct 19, 2025
…n codebase (#56269)

(cherry picked from commit c2bccf1)

Co-authored-by: Kevin Yang <85313829+sjyangkevin@users.noreply.github.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

potiuk pushed a commit that referenced this pull request Oct 19, 2025
…n codebase (#56269) (#56857)

(cherry picked from commit c2bccf1)

Co-authored-by: Kevin Yang <85313829+sjyangkevin@users.noreply.github.com>
TyrellHaywood pushed a commit to TyrellHaywood/airflow that referenced this pull request Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants