Skip to content

Commit

Permalink
Add types
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl committed Oct 29, 2024
1 parent 48ff8c9 commit 5f34284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inbox/mailsync/backends/imap/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def update_metadata(account_id, folder_id, folder_role, new_flags, session):
log.info("Updated UID metadata", changed=change_count, out_of=len(new_flags))


def remove_deleted_uids(account_id, folder_id, uids):
def remove_deleted_uids(account_id: int, folder_id: int, uids: "set[int]") -> None:
"""
Make sure you're holding a db write lock on the account. (We don't try
to grab the lock in here in case the caller needs to put higher-level
Expand Down

0 comments on commit 5f34284

Please sign in to comment.