From 7fc15002e394b31edced5bc2896cf06850378ebe Mon Sep 17 00:00:00 2001 From: mgrani Date: Fri, 21 Jun 2024 09:30:09 +0200 Subject: [PATCH] fix: corrected error reporting when slicing --- owilix/cmd/config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/owilix/cmd/config.py b/owilix/cmd/config.py index 3127315..23c85a6 100644 --- a/owilix/cmd/config.py +++ b/owilix/cmd/config.py @@ -42,3 +42,14 @@ def get(self, *args, **kwargs): self.show_table(_r, order=["key", "value"]) +@ConfigCommands.register +def metadata_profile(self, collectionName="userslice", *args, **kwargs): + """ + creates or updates a metadata profile for the provided collectionName. + + Args: + collectionName (str): the name of the collection to create or update + kwargs (dict): the metadata profile to create/update, i.e. key value pairs describing the metadata profile. keys support a multi dict profile (i.e. x.y#1.z#2.b) + """ + pass + -- 2.51.2