Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

run_archiving: Make realm argument non-optional.

Mateusz Manderab9fc18eb5a82
diff --git a/zerver/lib/retention.py b/zerver/lib/retention.py
index 8bccdc1153e..446371472fa 100644
--- a/zerver/lib/retention.py
+++ b/zerver/lib/retention.py
@@ -126,7 +126,7 @@ def move_rows(
def run_archiving(
query: SQL,
type: int,
- realm: Realm | None = None,
+ realm: Realm,
chunk_size: int | None = MESSAGE_BATCH_SIZE,
**kwargs: Composable,
) -> int: