8000 need to call the detect in the auth endpoint in case we aren't detect… · v0ku/server-client-python@0d6d8c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d6d8c1

Browse files
author
Russell Hay
authored
need to call the detect in the auth endpoint in case we aren't detecting the server version (tableau#220)
1 parent ff60613 commit 0d6d8c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tableauserverclient/server/endpoint/auth_endpoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def sign_in(self, auth_req):
2828
signin_req = RequestFactory.Auth.signin_req(auth_req)
2929
server_response = self.parent_srv.session.post(url, data=signin_req,
3030
**self.parent_srv.http_options)
31+
self.parent_srv._namespace.detect(server_response.content)
3132
self._check_status(server_response)
3233
parsed_resp 3EC5 onse = ET.fromstring(server_response.content)
3334
site_id = parsed_response.find('.//t:site', namespaces=self.parent_srv.namespace).get('id', None)

0 commit comments

Comments
 (0)
0