From f12af08e73da7cb0907672d6e978548d06b59280 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 17 Nov 2023 22:30:30 +0100 Subject: [PATCH] Minor return type fix. --- platypush/plugins/trello/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/platypush/plugins/trello/__init__.py b/platypush/plugins/trello/__init__.py index 7c57c716a1..0cd85845a6 100644 --- a/platypush/plugins/trello/__init__.py +++ b/platypush/plugins/trello/__init__.py @@ -137,6 +137,7 @@ class TrelloPlugin(RunnablePlugin): :param all: If True, return all the boards included those that have been closed/archived/deleted. Otherwise, only return open/active boards (default: False). + :return: .. schema:: trello.TrelloBoardSchema(many=True) """ return TrelloBoardSchema().dump( [ @@ -159,6 +160,7 @@ class TrelloPlugin(RunnablePlugin): Get the info about a board. :param board: Board ID or name + :return: .. schema:: trello.TrelloBoardSchema """ b = self._get_board(board) @@ -297,7 +299,9 @@ class TrelloPlugin(RunnablePlugin): def get_members(self, board: str): """ Get the list of all the members of a board. + :param board: Board ID or name. + :return: .. schema:: trello.TrelloMemberSchema(many=True) """ return self._get_members(board, only_admin=False) @@ -305,7 +309,9 @@ class TrelloPlugin(RunnablePlugin): def get_admin_members(self, board: str): """ Get the list of the admin members of a board. + :param board: Board ID or name. + :return: .. schema:: trello.TrelloMemberSchema(many=True) """ return self._get_members(board, only_admin=True) @@ -319,6 +325,7 @@ class TrelloPlugin(RunnablePlugin): :param board: Board ID or name :param all: If True, return all the lists, included those that have been closed/archived/deleted. Otherwise, only return open/active lists (default: False). + :return: .. schema:: trello.TrelloListSchema(many=True) """ return TrelloListSchema().dump( [ @@ -473,6 +480,7 @@ class TrelloPlugin(RunnablePlugin): :param due: Due date (``datetime.datetime`` object or ISO-format string) :param source: Card ID to clone from :param assign: List of assignee member IDs + :return: .. schema:: trello.TrelloCardSchema """ list_ = self._get_list(board, list) @@ -875,6 +883,7 @@ class TrelloPlugin(RunnablePlugin): (default: None) :param all: If True, return all the cards included those that have been closed/archived/deleted. Otherwise, only return open/active cards (default: False). + :return: .. schema:: trello.TrelloCardSchema(many=True) """ b = self._get_board(board)