Fix: Issue when the database objects passed to the cleanup task via params aren't JSON serializable#119
Fix: Issue when the database objects passed to the cleanup task via params aren't JSON serializable#119ealebed wants to merge 1 commit intoteamclairvoyant:masterfrom
Conversation
…the cleanup task via params aren't JSON serializable
|
Great pull request! 100% solves the problem! |
|
It'd be great to see this in merged if possible - this is holding us up on upgrading airflow (we could point to this PR but would prefer not to) |
|
Hey guys, I'm getting this error:
|
| @@ -366,10 +370,9 @@ def cleanup_function(**context): | |||
| for db_object in DATABASE_OBJECTS: | |||
There was a problem hiding this comment.
This doesn't work if you aren't using the CeleryExecutor as Task and TaskSet don't exist. There needs to be a conditional check like on line 247.
Issue link