Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(jinja): Detail how to use Jinja parameters #20308

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

EBoisseauSierra
Copy link
Contributor

@EBoisseauSierra EBoisseauSierra commented Jun 8, 2022

SUMMARY

We expand the example to show how to use the from_dttm and to_dttm
Jinja parameters in logic blocks (e.g. {% if … %}) and underline when
to use the double braces and when not to.

All this because, well, one could lost quite an extensive amount of
time figuring this all out (-_-")

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

n/a

TESTING INSTRUCTIONS

n/a

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Removes existing feature or API
  • Introduces new feature or API

We expand the example to show how to use the `from_dttm` and `to_dttm`
Jinja parameters in logic blocks (e.g. `{% if … %}`) and underline when
to use the double braces and when not to.

All this because, well, *one* could lost quite an extensive amount of
time figuring this all out (-_-")

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
@srinify srinify merged commit 80be1ce into apache:master Jun 8, 2022
@srinify
Copy link
Contributor

srinify commented Jun 8, 2022

Great addition thank you!

@EBoisseauSierra EBoisseauSierra deleted the docs_jinja_dttm branch June 8, 2022 14:19
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.0.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 2.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants