mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
Fix return typo in doc strings
This commit is contained in:
parent
7e8c93dcc7
commit
6448837112
4 changed files with 6 additions and 6 deletions
|
@ -402,7 +402,7 @@ class Track(Audio, Playable, ArtUrlMixin, PosterUrlMixin, RatingMixin,
|
|||
""" This does not exist in plex xml response but is added to have a common
|
||||
interface to get the locations of the track.
|
||||
|
||||
Retruns:
|
||||
Returns:
|
||||
List<str> of file paths where the track is found on disk.
|
||||
"""
|
||||
return [part.file for part in self.iterParts() if part]
|
||||
|
|
|
@ -480,7 +480,7 @@ class PlexPartialObject(PlexObject):
|
|||
self._server.query(key, method=self._server._session.put)
|
||||
|
||||
def isFullObject(self):
|
||||
""" Retruns True if this is already a full object. A full object means all attributes
|
||||
""" Returns True if this is already a full object. A full object means all attributes
|
||||
were populated from the api path representing only this item. For example, the
|
||||
search result for a movie often only contain a portion of the attributes a full
|
||||
object (main url) for that movie would contain.
|
||||
|
|
|
@ -232,7 +232,7 @@ class Photo(PlexPartialObject, Playable, ArtUrlMixin, PosterUrlMixin, RatingMixi
|
|||
""" This does not exist in plex xml response but is added to have a common
|
||||
interface to get the locations of the photo.
|
||||
|
||||
Retruns:
|
||||
Returns:
|
||||
List<str> of file paths where the photo is found on disk.
|
||||
"""
|
||||
return [part.file for item in self.media for part in item.parts if part]
|
||||
|
|
|
@ -328,7 +328,7 @@ class Movie(Video, Playable, AdvancedSettingsMixin, ArtMixin, PosterMixin, Ratin
|
|||
""" This does not exist in plex xml response but is added to have a common
|
||||
interface to get the locations of the movie.
|
||||
|
||||
Retruns:
|
||||
Returns:
|
||||
List<str> of file paths where the movie is found on disk.
|
||||
"""
|
||||
return [part.file for part in self.iterParts() if part]
|
||||
|
@ -815,7 +815,7 @@ class Episode(Video, Playable, ArtMixin, PosterMixin, RatingMixin,
|
|||
""" This does not exist in plex xml response but is added to have a common
|
||||
interface to get the locations of the episode.
|
||||
|
||||
Retruns:
|
||||
Returns:
|
||||
List<str> of file paths where the episode is found on disk.
|
||||
"""
|
||||
return [part.file for part in self.iterParts() if part]
|
||||
|
@ -904,7 +904,7 @@ class Clip(Video, Playable, ArtUrlMixin, PosterUrlMixin):
|
|||
""" This does not exist in plex xml response but is added to have a common
|
||||
interface to get the locations of the clip.
|
||||
|
||||
Retruns:
|
||||
Returns:
|
||||
List<str> of file paths where the clip is found on disk.
|
||||
"""
|
||||
return [part.file for part in self.iterParts() if part]
|
||||
|
|
Loading…
Reference in a new issue