Fixed schema attribute description type mismatch.

This commit is contained in:
Fabio Manganiello 2024-06-24 20:28:44 +02:00
parent a754b06f88
commit 1f544c9e53
Signed by: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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,
}, },