Skip to content
Snippets Groups Projects

DOC: Update tutorial on error handling

Merged Florian Spreckelsen requested to merge f-doc-errors into dev
1 unresolved thread
Files
5
@@ -206,7 +206,8 @@ def create_test_entities():
After calling this function, there will be a RecordType "Human Food" with the corresponding Records
"Bread", "Tomatoes", and "Twinkies" inserted in the database.
"""
rt = db.RecordType(name="Human Food", description="Food that can be eaten only by humans").insert()
rt = db.RecordType(
name="Human Food", description="Food that can be eaten only by humans").insert()
food = ("Bread", "Tomatoes", "Twinkies")
cont = db.Container()
Loading