Skip to content

Commit c985603

Browse files
committed
updated metadata_string for new metadata format
1 parent 7492531 commit c985603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databusclient/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def deploy_from_metadata(metadata, version_id, title, abstract, description, lic
442442
print(f"Deploying dataset version: {version_id}")
443443
deploy(dataset, apikey)
444444

445-
metadata_string = ",\n".join([entry[-1] for entry in metadata])
445+
metadata_string = ",\n".join(entry["url"] for entry in metadata)
446446
print(f"Successfully deployed\n{metadata_string}\nto databus {version_id}")
447447

448448

0 commit comments

Comments
 (0)