From 5ad464ac23e8616cd6f4a8ee76b0c2e1cb68421c Mon Sep 17 00:00:00 2001 From: Willi Date: Mon, 28 Oct 2024 17:28:50 +0100 Subject: [PATCH] Switch inverted 'shared' and 'public' in collection describe --- arlas/cli/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arlas/cli/service.py b/arlas/cli/service.py index 5d4113a..7f95594 100644 --- a/arlas/cli/service.py +++ b/arlas/cli/service.py @@ -218,8 +218,8 @@ def metadata_collection(arlas: str, collection: str) -> list[list[str]]: table.append(["timestamp path", d.get("params", {}).get("timestamp_path", "")]) table.append(["display name", d.get("params", {}).get("display_names", {}).get("collection", "")]) table.append(["owner", d.get("params", {}).get("organisations", {}).get("owner", "")]) - table.append(["is public", str(d.get("params", {}).get("organisations", {}).get("shared", []))]) - table.append(["organisations", d.get("params", {}).get("organisations", {}).get("public", False)]) + table.append(["is public", d.get("params", {}).get("organisations", {}).get("public", False)]) + table.append(["organisations", str(d.get("params", {}).get("organisations", {}).get("shared", []))]) return table def describe_index(arlas: str, index: str) -> list[list[str]]: