GitHub user pbjc added a comment to the discussion: Error on Moving from Sequential to LocalExecutor
I think the problem is that the `span` decorator does not use `functools.wraps`, making the decorated methods unable to be serialized by pickle. Removing `@span` from `LocalWorkerBase` and its child classes fixed the issue for me ([ex](https://github.com/apache/airflow/blob/c99887ec11ce3e1a43f2794fcf36d27555140f00/airflow/executors/local_executor.py#L82)). I'm currently using a modified `LocalExecutor` with `AIRFLOW__CORE__EXECUTOR` to get around this issue locally. GitHub link: https://github.com/apache/airflow/discussions/44243#discussioncomment-11755798 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
