forked from platypush/platypush
Fixed some docstring warnings.
This commit is contained in:
parent
85db77bb7b
commit
1c5956c38b
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue