From 7f13e02803f0652b1ce26037eb7fe94db170033e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 31 Dec 2023 04:34:42 +0100 Subject: [PATCH] Fixed docstring --- platypush/plugins/github/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platypush/plugins/github/__init__.py b/platypush/plugins/github/__init__.py index 1e3755e4e..825eed5c4 100644 --- a/platypush/plugins/github/__init__.py +++ b/platypush/plugins/github/__init__.py @@ -61,6 +61,7 @@ class GithubPlugin(RunnablePlugin): - ``notifications`` - ``read:org`` if you want to access repositories on organization level. + If neither ``repos`` nor ``org`` is specified then the plugin will monitor all new events on user level. """ _base_url = 'https://api.github.com' @@ -76,8 +77,6 @@ class GithubPlugin(RunnablePlugin): **kwargs, ): """ - If neither ``repos`` nor ``org`` is specified then the plugin will monitor all new events on user level. - :param user: Github username. :param user_token: Github personal access token. :param repos: List of repos to be monitored - if a list is provided then only these repositories will be