Skip to content
Closed
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/src/airflow/models/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Callback(Base):
fetch_method: Mapped[str] = mapped_column(String(20), nullable=False)

# Used by subclasses to store information about how to run the callback
data: Mapped[dict] = mapped_column(ExtendedJSON)
data: Mapped[dict | None] = mapped_column(ExtendedJSON, nullable=True)

# State of the Callback of type: CallbackState. Can be null for instances of DagProcessorCallback.
state: Mapped[str | None] = mapped_column(String(10))
Expand Down
Loading