diff --git a/plexapi/base.py b/plexapi/base.py index bc4d6a5f0..5532a455c 100644 --- a/plexapi/base.py +++ b/plexapi/base.py @@ -45,6 +45,9 @@ class cached_data_property(cached_property): automatic invalidation on data changes. """ + def __new__(cls, *args, **kwargs) -> cached_property: + return super().__new__(cls, *args, **kwargs) + def __set_name__(self, owner, name): """Register the annotated property in the parent class's _cached_data_properties set.""" super().__set_name__(owner, name)