Skip to content

Commit 18edeee

Browse files
Bump marshmallow from 3.26.1 to 4.0.0 (#248)
* Bump marshmallow from 3.26.1 to 4.0.0 * Replace deprecated marshmallow parameter names Effective since marshmallow-code/marshmallow#1742 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pylipp <beth.aleph@yahoo.de>
1 parent 05d890d commit 18edeee

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

financeager/pocket.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ class EntryBaseSchema(Schema):
3535
required=True, validate=validate.Length(min=1), allow_none=True
3636
)
3737
value = fields.Float(required=True, allow_none=True)
38-
category = fields.String(validate=validate.Length(min=1), missing=None)
38+
category = fields.String(validate=validate.Length(min=1), load_default=None)
3939

4040

4141
class StandardEntrySchema(EntryBaseSchema):
42-
date = fields.Date(format=POCKET_DATE_FORMAT, missing=None)
42+
date = fields.Date(format=POCKET_DATE_FORMAT, load_default=None)
4343

4444

4545
class RecurrentEntrySchema(EntryBaseSchema):
@@ -48,8 +48,8 @@ class RecurrentEntrySchema(EntryBaseSchema):
4848
required=True,
4949
allow_none=True,
5050
)
51-
start = fields.Date(format=POCKET_DATE_FORMAT, missing=None)
52-
end = fields.Date(format=POCKET_DATE_FORMAT, missing=None)
51+
start = fields.Date(format=POCKET_DATE_FORMAT, load_default=None)
52+
end = fields.Date(format=POCKET_DATE_FORMAT, load_default=None)
5353

5454

5555
class Pocket:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ authors = [{ name = "Philipp Metzner", email = "beth.aleph@yahoo.de" }]
1919
dependencies = [
2020
"platformdirs==4.3.8",
2121
"argcomplete==3.6.2",
22-
"marshmallow==3.26.1",
22+
"marshmallow==4.0.0",
2323
"python-dateutil==2.9.0.post0",
2424
"rich==14.0.0",
2525
"tinydb==4.8.2",

0 commit comments

Comments
 (0)