Skip to content

Commit dbbb85c

Browse files
committed
serialize tags
1 parent 743829f commit dbbb85c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databricks/labs/pytester/fixtures/catalog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
import logging
23
from collections.abc import Generator, Callable
34
from unittest.mock import Mock
@@ -419,7 +420,7 @@ def create(
419420
aws_iam_role_arn: str = "",
420421
read_only=False,
421422
) -> StorageCredentialInfo:
422-
comment = {"RemoveAfter": watchdog_remove_after}
423+
comment = json.dumps({"RemoveAfter": watchdog_remove_after})
423424
if aws_iam_role_arn != "":
424425
storage_credential = ws.storage_credentials.create(
425426
credential_name,

0 commit comments

Comments
 (0)