Skip to content

ObjectStoragePath cannot be deserialized to object #57726

@chxxvi

Description

@chxxvi

Apache Airflow version

3.1.1

If "Other Airflow 2/3 version" selected, which one?

n/a

What happened?

In v3.1.1, if I have a object (pydantic model) which has a field of ObjectStoragePath, passed from a task to another task (xcom), the field will be a string instead of ObjectStoragePath in the 2nd task. There was no problem in v3.1.0.

What you think should happen instead?

deserialize back to ObjectStoragePath instead of string

How to reproduce

n/a

Operating System

AlmaLinux 9.6

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

official helm chart 1.18.0
on-premise native K8s 1.33.5

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions