Skip to content

Commit

Permalink
Remove unused alias choice
Browse files Browse the repository at this point in the history
  • Loading branch information
omkar-foss committed Nov 20, 2024
1 parent 56f5a1d commit 4795c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/core_api/datamodels/task_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class TaskInstanceReferenceResponse(BaseModel):
"""Task Instance Reference serializer for responses."""

task_id: str
dag_run_id: str = Field(validation_alias=AliasChoices("run_id", "dagrun_id"))
dag_run_id: str = Field(validation_alias=AliasChoices("run_id"))
dag_id: str
logical_date: datetime

Expand Down

0 comments on commit 4795c73

Please sign in to comment.