fix proxy string validation
This commit is contained in:
parent
dc506238ff
commit
09741b9cee
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class BaseSchema(Schema):
|
|||
if isinstance(values, Promise):
|
||||
return str(values)
|
||||
if hasattr(values, 'serialize') and callable(values.serialize):
|
||||
return values.serialize()
|
||||
return cls.convert(values.serialize())
|
||||
return values
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue