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 9bc2425 commit 9afb654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/4_analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +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. `{% xxx %} FOR IF`
* `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. `{# xxx #}`
* `Comments`: The text of the comment is not compiled, it allows us to indicate notes. `{# #}`

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

Expand Down

0 comments on commit 9afb654

Please sign in to comment.