Hi All,
I am writing an xml file to MinIO in my KNIME workflow. I want to tag the files when I write the file into MinIO bucket.
In python, I can code like this:
client.put_object(bucket, key, content, size, tags = tags)
client - MinIO connection
bucket - MinIO bucket
key - file name
content - xml string
size - content size
tags = tags
Example for tags:
tags = Tags(for_object=True)
tags["GUID"] = "guid-3"
tags["Material"] = "123456"
tags["Serial"] = "12342346"
tags["Timestamp"] = datetime.now().strftime("%d.%m.%Y %H:%M:%S")
Thanks in advance
Nithin