From 1f544c9e539300dde0dbd18395077afb488a419e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 24 Jun 2024 20:28:44 +0200 Subject: [PATCH] Fixed schema attribute description type mismatch. --- platypush/common/reflection/_parser/rst.py | 2 ++ platypush/schemas/torrent.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platypush/common/reflection/_parser/rst.py b/platypush/common/reflection/_parser/rst.py index e185b6544a..015878c6a7 100644 --- a/platypush/common/reflection/_parser/rst.py +++ b/platypush/common/reflection/_parser/rst.py @@ -48,6 +48,8 @@ class RstExtensionsMixin: "Could not import module %s: %s", match.group("name"), e ) + cls.logger.exception(e) + return docstr @classmethod diff --git a/platypush/schemas/torrent.py b/platypush/schemas/torrent.py index abda225383..73dd27623f 100644 --- a/platypush/schemas/torrent.py +++ b/platypush/schemas/torrent.py @@ -180,7 +180,7 @@ class TorrentResultSchema(Schema): metadata={ 'description': ( 'Rating of the torrent or the underlying product, as a ' - 'percentage between 0 and 100', + 'percentage between 0 and 100' ), 'example': 86.0, },