You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/10/12 13:14:10 UTC
(superset) branch master updated: fix(tests): narrow nullable uuid before passing it to KeyValueDAO.get_entry (#45171)
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 209bdafc124 fix(tests): narrow nullable uuid before passing it to KeyValueDAO.get_entry (#45171)
209bdafc124 is described below
commit 209bdafc124c445194d9e3e0a84c6432121bd196
Author: Joe Li <jo...@preset.io>
AuthorDate: Mon Oct 12 06:14:02 2026 -0700
fix(tests): narrow nullable uuid before passing it to KeyValueDAO.get_entry (#45171)
---
tests/unit_tests/dao/key_value_test.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/unit_tests/dao/key_value_test.py b/tests/unit_tests/dao/key_value_test.py
index b93b0c455c0..2c8162cdb47 100644
--- a/tests/unit_tests/dao/key_value_test.py
+++ b/tests/unit_tests/dao/key_value_test.py
@@ -210,6 +210,7 @@ def test_get_entry_shared_lock(
queries.append(self)
return original_first(self)
+ assert key_value_entry.uuid is not None
with patch.object(Query, "first", capture_first):
found_entry = KeyValueDAO.get_entry(
resource=RESOURCE,