Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Jul 21, 2023
1 parent bdcae1c commit b1f5ab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -1933,6 +1933,9 @@ subclasses with `include_subtypes=True`.
> all subclasses will be attempted to be deserialized first,
> superclasses — at the end.
In the following example you can see how priority works — first we try
to deserialize `ChickpeaHummus`, and if it fails, then we try `Hummus`:

```python
@dataclass
class Hummus(DataClassDictMixin):
Expand Down

0 comments on commit b1f5ab3

Please sign in to comment.