varlink / python

Python implementation of the Varlink protocol
https://varlink.org/python/
Apache License 2.0
43 stars 8 forks source link

Not possible to upgrade a connection #23

Open jonathanunderwood opened 4 years ago

jonathanunderwood commented 4 years ago
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?

jonathanunderwood commented 4 years ago

Changing this to a bug - this functionality seems to be missing.

jonathanunderwood commented 3 years ago

@haraldh Can you comment on this - am I missing something here?