Skip to content

Add a date formatter for new public API test cases #44033

@amoghrajesh

Description

@amoghrajesh

Body

As per this comment: #43874 (comment), we need to add a date formatter in our new API test cases. This is because right now, we do something like this: "data_interval_end": dr.data_interval_end.isoformat().replace("+00:00", "Z") to account for the move from +00:00 to Z time format.

Adding this new formatter will clean up the tests and make it easier to extend.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

AIP-84Modern Rest APIarea:APIAirflow's REST/HTTP API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions