How to fix marshmallow.exceptions.SchemaError: Schema definition error in Python | DevErrors