Fixed docstring

This commit is contained in:
Fabio Manganiello 2023-12-31 04:34:42 +01:00
parent 61d1abf6aa
commit 7f13e02803
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -61,6 +61,7 @@ class GithubPlugin(RunnablePlugin):
- ``notifications`` - ``notifications``
- ``read:org`` if you want to access repositories on organization level. - ``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' _base_url = 'https://api.github.com'
@ -76,8 +77,6 @@ class GithubPlugin(RunnablePlugin):
**kwargs, **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: Github username.
:param user_token: Github personal access token. :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 :param repos: List of repos to be monitored - if a list is provided then only these repositories will be