-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot pod.exec(...)
with stdin
#342
Comments
I think this is sort of a duplicate of #212 so I'm going to close this out here. Currently using |
@jacobtomlinson Is it possible to have the "less broken" behavior in the meantime? Eg. what the official library does -- can pass stdin, but it can't be closed client-side. I'm currently using the official library with a workaround -- closing the input server-side by piping the input through |
I'd be happy to make it possible to opt into using I can think of a few options:
PRs with a proposal would be very welcome here. |
Which project are you reporting a bug for?
kr8s
What happened?
I tried using
pod.exec
withstdin
, but got an error messageAttributeError: 'AsyncWebSocketSession' object has no attribute 'protocol'
from this line:kr8s/kr8s/_exec.py
Line 73 in 3d7ac19
protocol
should besubprotocol
in the error message.It seems like the only passed protocol is the v4 one (
kr8s/kr8s/_exec.py
Line 21 in 3d7ac19
kr8s/kr8s/tests/test_objects.py
Line 876 in 3d7ac19
I saw no tracking issue, so I am reporting this even though the underlying issue seems to be already known.
Anything else?
No response
The text was updated successfully, but these errors were encountered: