Skip to content

Commit 37bb982

Browse files
Merge pull request #55 from JaviCerveraIngram/CPS-29-load-from
Marshmallow fix
2 parents 87d3bef + 05647a6 commit 37bb982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/models/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def make_object(self, data):
203203

204204

205205
class RenewalSchema(BaseSchema):
206-
from_ = fields.DateTime(attribute='from')
206+
from_ = fields.DateTime(load_from='from')
207207
to = fields.DateTime()
208208
period_delta = fields.Int()
209209
period_uom = fields.Str()

0 commit comments

Comments
 (0)