Fix return typo in doc strings

This commit is contained in:
JonnyWong16 2021-06-06 14:54:15 -07:00
parent 7e8c93dcc7
commit 6448837112
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 6 additions and 6 deletions

View file

@ -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]

View file

@ -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.

View file

@ -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]

View file

@ -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]