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/docs/img/airflow_erd.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
363a267c4aa6bed833ab79a9a30adcabffb3b9580e9ca7d7892757e6c6c3803e
80fa64065e3ad5c9cbd9abb331d0f9e7ac5336819cebe96af0fce114232a441b
4,849 changes: 2,622 additions & 2,227 deletions airflow-core/docs/img/airflow_erd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class HITLUser(BaseModel):


class BaseHITLDetail(BaseModel):
"""The common part within HITLDetail and HITLDetailHisotry."""
"""The common part within HITLDetail and HITLDetailHistory."""

# User Request Detail
options: list[str] = Field(min_length=1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from airflow.utils.state import TaskInstanceState


class HITLDetailHisotry(BaseHITLDetail):
class HITLDetailHistory(BaseHITLDetail):
"""Schema for Human-in-the-loop detail history."""


Expand Down Expand Up @@ -67,7 +67,7 @@ class TaskInstanceHistoryResponse(BaseModel):
executor: str | None
executor_config: Annotated[str, BeforeValidator(str)]
dag_version: DagVersionResponse | None
hitl_detail: HITLDetailHisotry | None
hitl_detail: HITLDetailHistory | None


class TaskInstanceHistoryCollectionResponse(BaseModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11191,7 +11191,7 @@ components:
- total_entries
title: HITLDetailCollection
description: Schema for a collection of Human-in-the-loop details.
HITLDetailHisotry:
HITLDetailHistory:
properties:
options:
items:
Expand Down Expand Up @@ -11261,7 +11261,7 @@ components:
- options
- subject
- created_at
title: HITLDetailHisotry
title: HITLDetailHistory
description: Schema for Human-in-the-loop detail history.
HITLDetailResponse:
properties:
Expand Down Expand Up @@ -12152,7 +12152,7 @@ components:
- type: 'null'
hitl_detail:
anyOf:
- $ref: '#/components/schemas/HITLDetailHisotry'
- $ref: '#/components/schemas/HITLDetailHistory'
- type: 'null'
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ def upgrade():


def downgrade():
"""Response Human In the Loop Detail Hisotry table."""
"""Response Human In the Loop Detail History table."""
op.drop_table("hitl_detail_history")
Original file line number Diff line number Diff line change
Expand Up @@ -3820,7 +3820,7 @@ export const $HITLDetailCollection = {
description: 'Schema for a collection of Human-in-the-loop details.'
} as const;

export const $HITLDetailHisotry = {
export const $HITLDetailHistory = {
properties: {
options: {
items: {
Expand Down Expand Up @@ -3930,7 +3930,7 @@ export const $HITLDetailHisotry = {
},
type: 'object',
required: ['options', 'subject', 'created_at'],
title: 'HITLDetailHisotry',
title: 'HITLDetailHistory',
description: 'Schema for Human-in-the-loop detail history.'
} as const;

Expand Down Expand Up @@ -5207,7 +5207,7 @@ export const $TaskInstanceHistoryResponse = {
hitl_detail: {
anyOf: [
{
'$ref': '#/components/schemas/HITLDetailHisotry'
'$ref': '#/components/schemas/HITLDetailHistory'
},
{
type: 'null'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ export type HITLDetailCollection = {
/**
* Schema for Human-in-the-loop detail history.
*/
export type HITLDetailHisotry = {
export type HITLDetailHistory = {
options: Array<(string)>;
subject: string;
body?: string | null;
Expand Down Expand Up @@ -1375,7 +1375,7 @@ export type TaskInstanceHistoryResponse = {
executor: string | null;
executor_config: string;
dag_version: DagVersionResponse | null;
hitl_detail: HITLDetailHisotry | null;
hitl_detail: HITLDetailHistory | null;
};

/**
Expand Down
4 changes: 2 additions & 2 deletions airflow-ctl/src/airflowctl/api/datamodels/generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ class EventLogCollectionResponse(BaseModel):
total_entries: Annotated[int, Field(title="Total Entries")]


class HITLDetailHisotry(BaseModel):
class HITLDetailHistory(BaseModel):
"""
Schema for Human-in-the-loop detail history.
"""
Expand Down Expand Up @@ -1667,7 +1667,7 @@ class TaskInstanceHistoryResponse(BaseModel):
executor: Annotated[str | None, Field(title="Executor")] = None
executor_config: Annotated[str, Field(title="Executor Config")]
dag_version: DagVersionResponse | None = None
hitl_detail: HITLDetailHisotry | None = None
hitl_detail: HITLDetailHistory | None = None


class TaskInstanceResponse(BaseModel):
Expand Down
Loading