Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(async-migrations): unbreak mypy on 0010 partition test (#61908)

Phil Haack2535ffdcabd9
diff --git a/posthog/async_migrations/test/test_0010_move_old_partitions.py b/posthog/async_migrations/test/test_0010_move_old_partitions.py
index 771014a84f1d..755bcbc6a98c 100644
--- a/posthog/async_migrations/test/test_0010_move_old_partitions.py
+++ b/posthog/async_migrations/test/test_0010_move_old_partitions.py
@@ -28,7 +28,7 @@ class Test0010MoveOldPartitions(AsyncMigrationBaseTest):
}[name],
),
):
- migration._get_partitions_to_move()
+ migration._get_partitions_to_move() # type: ignore[attr-defined]
mock_sync_execute.assert_called_once()
call = mock_sync_execute.call_args