mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 21:20:18 +00:00
importing base.PlexPartialObject and applying it to library.Collections
this will allow collections to use the base.PlexPartialObject.edit method
This commit is contained in:
parent
6dc19386c2
commit
9685b57ad2
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
from urllib.parse import quote, quote_plus, unquote, urlencode
|
from urllib.parse import quote, quote_plus, unquote, urlencode
|
||||||
|
|
||||||
from plexapi import X_PLEX_CONTAINER_SIZE, log, utils
|
from plexapi import X_PLEX_CONTAINER_SIZE, log, utils
|
||||||
from plexapi.base import PlexObject
|
from plexapi.base import PlexObject, PlexPartialObject
|
||||||
from plexapi.exceptions import BadRequest, NotFound
|
from plexapi.exceptions import BadRequest, NotFound
|
||||||
from plexapi.media import MediaTag
|
from plexapi.media import MediaTag
|
||||||
from plexapi.settings import Setting
|
from plexapi.settings import Setting
|
||||||
|
@ -1084,7 +1084,7 @@ class Hub(PlexObject):
|
||||||
|
|
||||||
|
|
||||||
@utils.registerPlexObject
|
@utils.registerPlexObject
|
||||||
class Collections(PlexObject):
|
class Collections(PlexPartialObject):
|
||||||
""" Represents a single Collection.
|
""" Represents a single Collection.
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
|
|
Loading…
Reference in a new issue