python
python copied to clipboard
Not possible to upgrade a connection
import varlink
vc = varlink.Client(f"unix:/run/user/{os.getuid()}/podman/io.podman")
if = vc.open("io.podman")
if.SendFile("")
results in VarlinkError: {'parameters': {'reason': 'client must use upgraded connection to send files'}, 'error': 'io.podman.ErrorOccurred'}
So, question is, with these bindings, how does one "upgrade" a connection?
Changing this to a bug - this functionality seems to be missing.
@haraldh Can you comment on this - am I missing something here?