File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ .. _polymorphism :
2
+
1
3
Polymorphism
2
4
============
3
5
Original file line number Diff line number Diff line change 1
1
Release Notes
2
2
=============
3
3
4
- v5.0.0 (unreleased)
4
+ v5.0.0b1
5
5
-------------------
6
6
7
7
:date: 2020-xx-xx
@@ -10,7 +10,7 @@ This is major release and contains breaking changes. Please read the notes below
10
10
11
11
**Polymorphism **
12
12
13
- This release introduces polymorphism support via `` DiscriminatorAttribute ` `.
13
+ This release introduces :ref: ` polymorphism ` support via :py:class: ` DiscriminatorAttribute <pynamodb.attributes.DiscriminatorAttribute `.
14
14
Discriminator values are written to DynamoDB and used during deserialization to instantiate the desired class.
15
15
16
16
Other changes in this release:
@@ -22,7 +22,19 @@ Other changes in this release:
22
22
"'filter_condition' cannot contain key attributes" errors.
23
23
* Replace the internal attribute type constants with their "short" DynamoDB version (#827)
24
24
* Typed list attributes can now support any Attribute subclass (#833)
25
+ * Add support for empty values in Binary and String attributes (#830)
25
26
* Remove ``ListAttribute.remove_indexes `` (added in v4.3.2) and document usage of remove for list elements (#838)
27
+ * Add the attribute name to error messages when deserialization fails (#815)
28
+ * Add the table name to error messages for transactional operations (#835)
29
+ * Move ``pynamodb.connection.util.pythonic `` to ``pynamodb.util.snake_to_camel_case `` (#753)
30
+
31
+ Contributors to this release:
32
+
33
+ * @jpinner
34
+ * @ikonst
35
+ * @rchilaka-amzn
36
+ * @jonathantan
37
+
26
38
27
39
v4.3.3
28
40
----------
36
48
my_list = ListAttribute()
37
49
38
50
MyModel.query(..., condition=MyModel.my_list[0] == 42)
39
-
51
+
40
52
* Fix a warning about ``collections.abc `` deprecation (#782)
41
53
42
54
You can’t perform that action at this time.
0 commit comments