Skip to content

Commit

Permalink
exclude unknown fields
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Dec 3, 2024
1 parent fa87a9b commit dbe77f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brewtils/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import datetime
from functools import partial

from marshmallow import Schema, fields, post_load, pre_load, utils
from marshmallow import Schema, fields, post_load, pre_load, utils, EXCLUDE
from marshmallow_polyfield import PolyField

__all__ = [
Expand Down Expand Up @@ -143,7 +143,7 @@ def get_attribute_names(cls):
]

class Meta:
unknown = 'EXCLUDE'
unknown = EXCLUDE


class ChoicesSchema(BaseSchema):
Expand Down

0 comments on commit dbe77f4

Please sign in to comment.