1
0
mirror of synced 2024-12-12 15:01:09 +01:00

[malody] allow unknown keys in input

This commit is contained in:
Stepland 2021-05-28 01:48:10 +02:00
parent 20c1ce922e
commit d9b960383c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
# v1.2.1
## Fixed
- [malody] Parsing a malody file with keys that are unused for conversion
(like `meta.mode_ext` or `extra`) would fire errors, not anymore !
# v1.2.0
## Added
- [malody] 🎉 initial malody support !

View File

@ -3,6 +3,7 @@ from decimal import Decimal
from enum import Enum
from typing import List, Optional, Tuple, Union
from marshmallow import EXCLUDE
from marshmallow.validate import Range
from marshmallow_dataclass import NewType, class_schema
@ -10,6 +11,7 @@ from marshmallow_dataclass import NewType, class_schema
class Ordered:
class Meta:
ordered = True
unknown = EXCLUDE
@dataclass