Allow extra kwargs to PartialTraktMedia.create
@@ -16,8 +16,9 @@ class PartialTraktMedia:
watched_at: str = None
@classmethod
- def create(cls, m: TraktMedia):
+ def create(cls, m: TraktMedia, **extra):
return cls(**{
"ids": m.ids,
"media_type": m.media_type,
+ **extra,
})
