fix(api): bind dataset operations to owners (#40149)

This commit is contained in:
WH-2099 authored and GitHub committed 2026-08-11 16:37:14 +00:00
1 parent bee269afe8
commit ef8544b173
35 files changed
+1520 -496

No files matched your search

@@ -58,9 +58,7 @@ class TestMetadataBugCompleteValidation:
account = _make_account()
none_name = cast(str, None)
with pytest.raises(TypeError, match="object of type 'NoneType' has no len"):
MetadataService.update_metadata_name(
"dataset-123", "metadata-456", none_name, account, "tenant-123", session=sqlite_session
)
MetadataService.update_metadata_name(Mock(), "metadata-456", none_name, account, session=sqlite_session)
assert not sqlite_session.in_transaction()
def test_3_database_constraints_verification(self) -> None: