Render jinja template in a standalone class #43805
Unanswered
priyankagovindraj
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Could you provide the SqlTable code snippet? Focus on how you handle those jinja templates. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a use case:
ex_task = DummyOperator(
task_id = task_id,
dag=dag,
checks=
SomeCheckClass(
table=SqlTable("templated_table", "another_templated_field", "just_a_string",...))
]
)
SqlTable is a standalone class which has the templated fields. I have tried to get these fields rendered in the upstream base classes, however I have not been able to get it resolved.
Any ideas on how I can get this done?
Beta Was this translation helpful? Give feedback.
All reactions