Skip to content
Discussion options

You must be logged in to vote

It's true that the logging module can't serialize, but since _DockerDecoratedOperator stores the original code of the decorated function as a string in a temporary file and passes it to docker, it should run fine as long as there are no dependencies on other variables inside the DAG file.

I've confirmed that fixing the attribute that was causing the problem in _DockerDecoratedOperator fixes the issue, and I've requested a PR for it. Please review.

#35293

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@potiuk
Comment options

potiuk Oct 30, 2023
Collaborator

@phi-friday
Comment options

@potiuk
Comment options

potiuk Oct 31, 2023
Collaborator

@phi-friday
Comment options

Comment options

You must be logged in to vote
3 replies
@potiuk
Comment options

potiuk Oct 31, 2023
Collaborator

@phi-friday
Comment options

Answer selected by phi-friday
@potiuk
Comment options

potiuk Oct 31, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug area:core needs-triage label for new issues that we didn't triage yet
2 participants
Converted from issue

This discussion was converted from issue #35263 on October 30, 2023 22:58.