Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ dependencies = [
"cryptography>=41.0.0,<46.0.0",
"deprecated>=1.2.13",
"dill>=0.2.2",
"fastapi[standard-no-fastapi-cloud-cli]>=0.128.0",
"fastapi[standard-no-fastapi-cloud-cli]>=0.128.1",
"uvicorn>=0.37.0",
"starlette>=0.45.0",
"httpx>=0.25.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ components:
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ export const ValidationErrorSchema = {
type: "string",
title: "Error Type",
},
input: {
title: "Input",
},
ctx: {
type: "object",
title: "Context",
},
},
type: "object",
required: ["loc", "msg", "type"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export type ValidationError = {
loc: Array<string | number>;
msg: string;
type: string;
input?: unknown;
ctx?: {
[key: string]: unknown;
};
};

export type CreateTokenData = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2933,6 +2933,11 @@ components:
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13347,6 +13347,11 @@ components:
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6635,6 +6635,13 @@ export const $ValidationError = {
type: {
type: 'string',
title: 'Error Type'
},
input: {
title: 'Input'
},
ctx: {
type: 'object',
title: 'Context'
}
},
type: 'object',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,10 @@ export type ValidationError = {
loc: Array<(string | number)>;
msg: string;
type: string;
input?: unknown;
ctx?: {
[key: string]: unknown;
};
};

/**
Expand Down
2 changes: 2 additions & 0 deletions airflow-ctl/src/airflowctl/api/datamodels/auth_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class ValidationError(BaseModel):
loc: Annotated[list[str | int], Field(title="Location")]
msg: Annotated[str, Field(title="Message")]
type: Annotated[str, Field(title="Error Type")]
input: Annotated[Any | None, Field(title="Input")] = None
ctx: Annotated[dict[str, Any] | None, Field(title="Context")] = None


class HTTPValidationError(BaseModel):
Expand Down
2 changes: 2 additions & 0 deletions airflow-ctl/src/airflowctl/api/datamodels/generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,8 @@ class ValidationError(BaseModel):
loc: Annotated[list[str | int], Field(title="Location")]
msg: Annotated[str, Field(title="Message")]
type: Annotated[str, Field(title="Error Type")]
input: Annotated[Any | None, Field(title="Input")] = None
ctx: Annotated[dict[str, Any] | None, Field(title="Context")] = None


class VariableBody(BaseModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,11 @@ components:
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,11 @@ components:
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ components:
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
Expand Down
Loading