refactor: Make acting_user a mandatory kwarg for bulk_remove_subscriptions.

This commit is contained in:
shanukun
2021-04-02 22:18:08 +05:30
committed by Tim Abbott
parent 0bf067b681
commit bcc3bb03fe
4 changed files with 9 additions and 6 deletions

View File

@@ -3557,7 +3557,8 @@ def bulk_remove_subscriptions(
users: Iterable[UserProfile],
streams: Iterable[Stream],
acting_client: Client,
acting_user: Optional[UserProfile] = None,
*,
acting_user: Optional[UserProfile],
) -> SubAndRemovedT:
users = list(users)