Skip to content

Commit

Permalink
chore: Update jinja block examples in analytics documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dell-datascience committed Jul 13, 2024
1 parent 4207e2a commit 9bc2425
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/4_analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,9 @@ We can use three different types of jinja blocks within a [macro](https://docs.g

* `Expressions` : when we want to return a string. Expressions can be used to reference variables or call other macros. `{{ }}`

* `Statements` : These are used for flow control, for example, for loops or statements. `{% %} FOR IF`
* `Comments`: The text of the comment is not compiled, it allows us to indicate notes. `{# #}`
* `Statements` : These are used for flow control, for example, for loops or statements. `{% xxx %} FOR IF`

* `Comments`: The text of the comment is not compiled, it allows us to indicate notes. `{# xxx #}`

we create the macros `get_payment_type_description` that receives a value called `payment_type`

Expand Down

0 comments on commit 9bc2425

Please sign in to comment.