We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ee8c2 commit 0f15bb1Copy full SHA for 0f15bb1
docs/updates.rst
@@ -20,9 +20,9 @@ Suppose that you have defined a `Thread` Model for the examples below.
20
table_name = 'Thread'
21
22
forum_name = UnicodeAttribute(hash_key=True)
23
- subjects = UnicodeSetAttribute(default={})
+ subjects = UnicodeSetAttribute(default=dict)
24
views = NumberAttribute(default=0)
25
- notes = ListAttribute(default=[])
+ notes = ListAttribute(default=list)
26
27
28
.. _updates:
0 commit comments