Fixed some docstring warnings.

This commit is contained in:
Fabio Manganiello 2024-01-18 00:26:05 +01:00
parent 85db77bb7b
commit 1c5956c38b
Signed by: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 5 additions and 5 deletions

View file

@ -396,10 +396,10 @@ class MediaChromecastPlugin(MediaPlugin, RunnablePlugin):
:return: The status of a Chromecast (if ``chromecast`` is specified) or
all the discovered/available Chromecasts. Format:
.. code-block:: python
.. code-block:: javascript
{
"type": "cast", # Can be "cast" or "audio"
"type": "cast", // Can be "cast" or "audio"
"name": "Living Room TV",
"manufacturer": "Google Inc.",
"model_name": "Chromecast",
@ -481,7 +481,7 @@ class MediaChromecastPlugin(MediaPlugin, RunnablePlugin):
"title": "Some media",
"track": null
}
}
}
"""
return self._status(chromecast=chromecast)

View file

@ -30,8 +30,8 @@ class TodoistPlugin(Plugin):
def __init__(self, api_token: str, **kwargs):
"""
:param api_token: Todoist API token. You can get it `here
<https://todoist.com/prefs/integrations>`_.
:param api_token: Todoist API token.
You can get it `here <https://todoist.com/prefs/integrations>`_.
"""
super().__init__(**kwargs)