Skip to content

Commit

Permalink
Pass full dictionary for storage_info and catalog_info.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiannakopoulos committed Nov 26, 2024
1 parent 0ec9080 commit 9cf0362
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions singlestoredb/management/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def create_cluster_identity(self) -> Dict[str, Any]:
f'workspaceGroups/{self.workspace_group.id}/'
'egress/createEgressClusterIdentity',
json=dict(
catalogInfo=json.dumps(self.catalog_info),
storageInfo=json.dumps(self.storage_info),
catalogInfo=self.catalog_info,
storageInfo=self.storage_info,
),
)

Expand All @@ -98,8 +98,8 @@ def start(self, tags: Optional[List[str]] = None) -> 'ExportStatus':
json=dict(
databaseName=self.database,
tableName=self.table,
storageInfo=json.dumps(self.storage_info),
catalogInfo=json.dumps(self.catalog_info),
storageInfo=self.storage_info,
catalogInfo=self.catalog_info,
),
)

Expand Down

0 comments on commit 9cf0362

Please sign in to comment.