Skip to content

Commit

Permalink
DOC: add data_version to "recipe" tutorial (#12350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed May 5, 2024
1 parent c41aab8 commit afcafe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/development/tutorials/examples/recipe.py
Expand Up @@ -122,6 +122,7 @@ class RecipeDomain(Domain):
'recipes': [], # object list
'recipe_ingredients': {}, # name -> object
}
data_version = 0

def get_full_qualified_name(self, node):
return f'recipe.{node.arguments[0]}'
Expand Down

0 comments on commit afcafe0

Please sign in to comment.