connect_get_namespaced_service_proxy_with_path messes up response #2158
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What happened (please include outputs or screenshots):
Im running
connect_get_namespaced_service_proxy_with_path(name, namespace, path="actuator")
to get JSON data from my webservice.The result is a JSON list:
["foo", "bar"]
but the function returns
['foo', 'bar']
What you expected to happen:
The function to return
["foo", "bar"]
or to return the list or a bytearray.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
It looks like the deserialisation messes it up. It can be worked around by passing
_preload_content=False
Environment:
kubectl version
): v1.25.13python --version
): Python 3.9.17pip list | grep kubernetes
): 28.1.0The text was updated successfully, but these errors were encountered: