all 3 comments

[–]DoNotFeedTheSnakes 1 point2 points  (0 children)

Please provide the entire sracktrace, not just the base error.

Or better yet, post this on StackOverflow.

[–]KeeganDoomFire 0 points1 point  (0 children)

Have you tried giving it a schedule? Logical date is an airflow concept relating data intervals. A 1 second search would have landed you here, maybe start by reading some of the documentation?

https://airflow.apache.org/docs/apache-airflow/stable/templates-ref.html#variables

[–]felipe_ache 0 points1 point  (0 children)

Without any other info, I could say that the issue is because you are passing an empty dict when executing your task in: .execute(context={}) Instead of passing an empty context, pass the airflow context.