You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
withtdclient.Client(apikey) asclient:
history=client.history('foo/bar', 0, 10) # saved query name 'foo/bar', contains the '/' character.
NotFoundError: List history failed: {"error":"Path and method do not match any API endpoint","message":"Path and method do not match any API endpoint","text":"Path and method do not match any API endpoint","severity":"error","status_code":404}
And, I noticed that the '/' character in the name is not quoted.
I got an error with the following code.
And, I noticed that the '/' character in the name is not quoted.
td-client-python/tdclient/util.py
Line 20 in af0acaa
expected: /v3/schedule/history/foo%2Fbar
but got: /v3/schedule/history/foo/bar
https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote
The text was updated successfully, but these errors were encountered: