Skip to content

Commit

Permalink
task should be optional on py ti
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Mar 19, 2024
1 parent 415d607 commit b8d4b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/serialization/pydantic/taskinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class TaskInstancePydantic(BaseModelPydantic, LoggingMixin):
next_method: Optional[str]
next_kwargs: Optional[dict]
run_as_user: Optional[str]
task: PydanticOperator
task: Optional[PydanticOperator]
test_mode: bool
dag_run: Optional[DagRunPydantic]
dag_model: Optional[DagModelPydantic]
Expand Down

0 comments on commit b8d4b35

Please sign in to comment.