Skip to content

Commit

Permalink
Resolve Marshmallow warning, RemovedInMarshmallow4Warning: Passing fi…
Browse files Browse the repository at this point in the history
…eld metadata as keyword arguments is deprecated.
  • Loading branch information
BartVerc committed Dec 12, 2022
1 parent 64d9519 commit 6e72d14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kubi_ecs_logger/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ def __init__(self, **kwargs):
from .include import INCLUDE_FIELDS
self.declared_fields.update(INCLUDE_FIELDS)

labels = fields.Dict(allow_none=False, skip_if=None)
labels = fields.Dict(allow_none=False, metadata={'skip_if': None})
message = fields.String(allow_none=True)
tags = fields.List(fields.String(), allow_none=True)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
marshmallow==3.15.0
marshmallow==3.19.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.1', # Required
version='0.1.2', # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down

0 comments on commit 6e72d14

Please sign in to comment.