Борис Стук
05/03/2024, 12:24 PMAriel Shaqed (Scolnicov)
05/03/2024, 4:34 PMx-lakefs-meta-xyzzy: foo
then metadata key xyzzy
will be mapped to foo
. (Metadata keys are converted to lowercase in this method by HTTP rules.)
I hope this helps!Amit Kesarwani
05/03/2024, 5:29 PMobj = branchMain.object(path=fileName)
with open(f"/data/{fileName}", mode='rb') as reader, obj.writer(mode='wb', metadata={'using': 'python_wrapper', 'source':'Spark Demo'}) as writer:
writer.write(reader.read())