Skip to content

Commit 6e72d14

Browse files
committed
Resolve Marshmallow warning, RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated.
1 parent 64d9519 commit 6e72d14

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

kubi_ecs_logger/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ def __init__(self, **kwargs):
5353
from .include import INCLUDE_FIELDS
5454
self.declared_fields.update(INCLUDE_FIELDS)
5555

56-
labels = fields.Dict(allow_none=False, skip_if=None)
56+
labels = fields.Dict(allow_none=False, metadata={'skip_if': None})
5757
message = fields.String(allow_none=True)
5858
tags = fields.List(fields.String(), allow_none=True)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
marshmallow==3.15.0
1+
marshmallow==3.19.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# For a discussion on single-sourcing the version across setup.py and the
4747
# project code, see
4848
# https://packaging.python.org/en/latest/single_source_version.html
49-
version='0.1.1', # Required
49+
version='0.1.2', # Required
5050

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

0 commit comments

Comments
 (0)