Set **kwargs type to Any for ActivityObject.__init__

This commit is contained in:
Joeri de Ruiter 2023-08-21 13:09:42 +02:00
commit 8f8587f79d

View file

@ -73,7 +73,7 @@ class ActivityObject:
def __init__(
self,
activity_objects: Optional[list[str, base_model.BookWyrmModel]] = None,
**kwargs: dict[str, Any],
**kwargs: Any,
):
"""this lets you pass in an object with fields that aren't in the
dataclass, which it ignores. Any field in the dataclass is required or