8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hi, I tried to find user by user name using request options however I still got errors until I tried to quote_plus the user name string.
quote_plus
Find user via user name username=1oglop1+24@gmail.com
user name
username=1oglop1+24@gmail.com
import tableauserverclient as tsc # .. server sign in etc.. request_options = tsc.RequestOptions() request_options.filter.add( tsc.Filter( tsc.RequestOptions.Field.Name, tsc.RequestOptions.Operator.Equals, '1oglop1+24@gmail.com' ) ) users, pagination_item = server.users.get(request_options) print(users)
[<User ada95cbc-ca59-4087-bbfe-acbcf55d88a4 name=1oglop1+24@gmail.com role=Creator>]
[]
This is due to the character + in username. I'm using quote_plus as a workaround.
+
username
import tableauserverclient as tsc from urllib.parse import quote_plus # .. server sign in etc.. request_options = tsc.RequestOptions() request_options.filter.add( tsc.Filter( tsc.RequestOptions.Field.Name, tsc.RequestOptions.Operator.Equals, quote_plus('1oglop1+24@gmail.com') ) ) users, pagination_item = server.users.get(request_options) print(users) # [<User ada95cbc-ca59-4087-bbfe-acbcf55d88a4 name=1oglop1+24@gmail.com role=Creator>]
The text was updated successfully, but these errors were encountered:
Quote plus worked for me as well except for when the % character is present.
Sorry, something went wrong.
This works today
No branches or pull requests
Hi, I tried to find user by user name using request options however I still got errors until I tried to
quote_plus
the user name string.Task:
Find user via
user name
username=1oglop1+24@gmail.com
Steps
Expected result
[<User ada95cbc-ca59-4087-bbfe-acbcf55d88a4 name=1oglop1+24@gmail.com role=Creator>]
Actual result
[]
This is due to the character
+
inusername
.I'm using
quote_plus
as a workaround.The text was updated successfully, but these errors were encountered: