Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forbid extra fields in BaseModel #44306

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Merge branch 'main' of https://github.com/apache/airflow into kalyan/…
…AIP-84/model_conf_extra_forbid
  • Loading branch information
rawwar committed Nov 27, 2024
commit 81fff16dd30a025bfa34f891ee254b4b35ad2560
7 changes: 7 additions & 0 deletions airflow/api_fastapi/core_api/openapi/v1-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6897,6 +6897,7 @@ components:
format: date-time
- type: 'null'
title: End Date Lte
additionalProperties: false
type: object
title: DAGRunsBatchBody
description: List DAG Runs body for batch endpoint.
Expand Down Expand Up @@ -7555,6 +7556,7 @@ components:
total_entries:
type: integer
title: Total Entries
additionalProperties: false
type: object
required:
- jobs
Expand Down Expand Up @@ -7663,6 +7665,7 @@ components:
type: boolean
title: Include Past
default: false
additionalProperties: false
type: object
title: PatchTaskInstanceBody
description: Request body for Clear Task Instances endpoint.
Expand Down Expand Up @@ -8063,6 +8066,7 @@ components:
total_entries:
type: integer
title: Total Entries
additionalProperties: false
type: object
required:
- task_instances
Expand Down Expand Up @@ -8838,6 +8842,7 @@ components:
- type: string
- type: 'null'
title: Note
additionalProperties: false
type: object
title: TriggerDAGRunPostBody
description: Trigger DAG Run Serializer for POST body.
Expand Down Expand Up @@ -9000,6 +9005,7 @@ components:
total_entries:
type: integer
title: Total Entries
additionalProperties: false
type: object
required:
- xcom_entries
Expand Down Expand Up @@ -9028,6 +9034,7 @@ components:
dag_id:
type: string
title: Dag Id
additionalProperties: false
type: object
required:
- key
Expand Down
7 changes: 7 additions & 0 deletions airflow/ui/openapi-gen/requests/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2040,6 +2040,7 @@ export const $DAGRunsBatchBody = {
title: "End Date Lte",
},
},
additionalProperties: false,
type: "object",
title: "DAGRunsBatchBody",
description: "List DAG Runs body for batch endpoint.",
Expand Down Expand Up @@ -2955,6 +2956,7 @@ export const $JobCollectionResponse = {
title: "Total Entries",
},
},
additionalProperties: false,
type: "object",
required: ["jobs", "total_entries"],
title: "JobCollectionResponse",
Expand Down Expand Up @@ -3140,6 +3142,7 @@ export const $PatchTaskInstanceBody = {
default: false,
},
},
additionalProperties: false,
type: "object",
title: "PatchTaskInstanceBody",
description: "Request body for Clear Task Instances endpoint.",
Expand Down Expand Up @@ -3681,6 +3684,7 @@ export const $TaskInstanceHistoryCollectionResponse = {
title: "Total Entries",
},
},
additionalProperties: false,
type: "object",
required: ["task_instances", "total_entries"],
title: "TaskInstanceHistoryCollectionResponse",
Expand Down Expand Up @@ -4985,6 +4989,7 @@ export const $TriggerDAGRunPostBody = {
title: "Note",
},
},
additionalProperties: false,
type: "object",
title: "TriggerDAGRunPostBody",
description: "Trigger DAG Run Serializer for POST body.",
Expand Down Expand Up @@ -5222,6 +5227,7 @@ export const $XComCollection = {
title: "Total Entries",
},
},
additionalProperties: false,
type: "object",
required: ["xcom_entries", "total_entries"],
title: "XComCollection",
Expand Down Expand Up @@ -5257,6 +5263,7 @@ export const $XComResponse = {
title: "Dag Id",
},
},
additionalProperties: false,
type: "object",
required: [
"key",
Expand Down
Loading