ashb commented on code in PR #44427: URL: https://github.com/apache/airflow/pull/44427#discussion_r1861037388
########## task_sdk/src/airflow/sdk/execution_time/task_runner.py: ########## @@ -37,9 +37,9 @@ class RuntimeTaskInstance(TaskInstance): - model_config = ConfigDict(arbitrary_types_allowed=True) + model_config = ConfigDict(arbitrary_types_allowed=True, defer_build=True) - task: BaseOperator + task: Annotated[BaseOperator, SkipValidation] Review Comment: I think so, defer_build is about building the type schema etc and happened even with SkipValidation. I think without this the error was something imported from BaseOperator failed to evaluate a type annotation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
