forked from platypush/platypush
Fixed schema attribute description type mismatch.
This commit is contained in:
parent
a754b06f88
commit
1f544c9e53
2 changed files with 3 additions and 1 deletions
|
@ -48,6 +48,8 @@ class RstExtensionsMixin:
|
||||||
"Could not import module %s: %s", match.group("name"), e
|
"Could not import module %s: %s", match.group("name"), e
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cls.logger.exception(e)
|
||||||
|
|
||||||
return docstr
|
return docstr
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -180,7 +180,7 @@ class TorrentResultSchema(Schema):
|
||||||
metadata={
|
metadata={
|
||||||
'description': (
|
'description': (
|
||||||
'Rating of the torrent or the underlying product, as a '
|
'Rating of the torrent or the underlying product, as a '
|
||||||
'percentage between 0 and 100',
|
'percentage between 0 and 100'
|
||||||
),
|
),
|
||||||
'example': 86.0,
|
'example': 86.0,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue