mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
Fix/queue configurations (#585)
* Fix config-svc startup dupe CLI args * Fix missing params on collection service * Fix collection management handling
This commit is contained in:
parent
ba95fa226b
commit
39f6a8b940
8 changed files with 59 additions and 63 deletions
|
|
@ -28,19 +28,17 @@ def list_collections(url, user, tag_filter):
|
|||
collection.collection,
|
||||
collection.name,
|
||||
collection.description,
|
||||
", ".join(collection.tags),
|
||||
collection.created_at,
|
||||
collection.updated_at
|
||||
", ".join(collection.tags)
|
||||
])
|
||||
|
||||
headers = ["Collection", "Name", "Description", "Tags", "Created", "Updated"]
|
||||
headers = ["Collection", "Name", "Description", "Tags"]
|
||||
|
||||
print(tabulate.tabulate(
|
||||
table,
|
||||
headers=headers,
|
||||
tablefmt="pretty",
|
||||
stralign="left",
|
||||
maxcolwidths=[20, 30, 50, 30, 19, 19],
|
||||
maxcolwidths=[20, 30, 50, 30],
|
||||
))
|
||||
|
||||
def main():
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ def set_collection(url, user, collection, name, description, tags, token=None):
|
|||
table.append(("Name", result.name))
|
||||
table.append(("Description", result.description))
|
||||
table.append(("Tags", ", ".join(result.tags)))
|
||||
table.append(("Updated", result.updated_at))
|
||||
|
||||
print(tabulate.tabulate(
|
||||
table,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue