From 97149ac6ec31fbe92a9491aebc652fe4f570a0f8 Mon Sep 17 00:00:00 2001 From: JamieDeMaria Date: Tue, 4 Jun 2024 15:22:15 -0400 Subject: [PATCH] pyright --- .../dagster/dagster_tests/daemon_tests/test_backfill.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python_modules/dagster/dagster_tests/daemon_tests/test_backfill.py b/python_modules/dagster/dagster_tests/daemon_tests/test_backfill.py index 08091e20bf3f8..9dbd8386ca5f9 100644 --- a/python_modules/dagster/dagster_tests/daemon_tests/test_backfill.py +++ b/python_modules/dagster/dagster_tests/daemon_tests/test_backfill.py @@ -2327,6 +2327,7 @@ def override_backfill_storage_setting(self): logs, cursor = cm.read_log_lines_for_log_key_prefix( ["backfill", backfill.backfill_id], cursor=None ) + assert cursor is not None assert logs for log_line in logs: if not log_line: @@ -2349,6 +2350,7 @@ def override_backfill_storage_setting(self): cursor=cursor.to_string(), ) + assert cursor is not None assert not cursor.has_more_now for log_line in logs: if not log_line: