Skip to content

Commit 9cf0362

Browse files
Pass full dictionary for storage_info and catalog_info.
1 parent 0ec9080 commit 9cf0362

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

singlestoredb/management/export.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def create_cluster_identity(self) -> Dict[str, Any]:
7979
f'workspaceGroups/{self.workspace_group.id}/'
8080
'egress/createEgressClusterIdentity',
8181
json=dict(
82-
catalogInfo=json.dumps(self.catalog_info),
83-
storageInfo=json.dumps(self.storage_info),
82+
catalogInfo=self.catalog_info,
83+
storageInfo=self.storage_info,
8484
),
8585
)
8686

@@ -98,8 +98,8 @@ def start(self, tags: Optional[List[str]] = None) -> 'ExportStatus':
9898
json=dict(
9999
databaseName=self.database,
100100
tableName=self.table,
101-
storageInfo=json.dumps(self.storage_info),
102-
catalogInfo=json.dumps(self.catalog_info),
101+
storageInfo=self.storage_info,
102+
catalogInfo=self.catalog_info,
103103
),
104104
)
105105

0 commit comments

Comments
 (0)