mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 09:31:08 +00:00
Set **kwargs type to Any for ActivityObject.__init__
This commit is contained in:
commit
8f8587f79d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue