We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7281c commit 9be4506Copy full SHA for 9be4506
1 file changed
wolframclient/evaluation/cloud/oauth.py
@@ -199,10 +199,11 @@ def authenticate(self):
199
)
200
# todo use xauth server key/secret
201
client = self.client_class(self.consumer_key, self.consumer_secret)
202
- params = dict()
203
- params["x_auth_username"] = self.xauth_credentials.user
204
- params["x_auth_password"] = self.xauth_credentials.password
205
- params["x_auth_mode"] = "client_auth"
+ params = {
+ "x_auth_username": self.xauth_credentials.user,
+ "x_auth_password": self.xauth_credentials.password,
+ "x_auth_mode": "client_auth"
206
+ }
207
208
# avoid dumping password in log files.
209
logging.disable(logging.DEBUG)
0 commit comments