Skip to content
New issue

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

Query methods result in maximum recursion depth exceeded erros #97

Open
JeffJames1 opened this issue Jul 30, 2020 · 0 comments
Open

Query methods result in maximum recursion depth exceeded erros #97

JeffJames1 opened this issue Jul 30, 2020 · 0 comments

Comments

@JeffJames1
Copy link

Tried using query_users() and query_sites() with the same result.

from tableau_tools import *

server_url = ""
username = ""
password = ""
site_content_url = ""

t_server = TableauServerRest36(server=server_url, username=username, password=password,
                        site_content_url=site_content_url)
t_server.signin()

t_server.query_sites()

38 sites on the dev server, so not one of my big prod clusters, but still shouldn't be a recursion depth error:

Traceback (most recent call last):
  File "/Users//Library/Application Support/JetBrains/PyCharmCE2020.2/scratches/scratch.py", line 12, in <module>
    t_server.query_sites()
  File "/Users//venv/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/_lookups.py", line 10, in __getattr__
    return getattr(self.rest_api_base, attr)
  File "/Users//venv/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/_lookups.py", line 10, in __getattr__
    return getattr(self.rest_api_base, attr)
  File "/Users//venv/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/_lookups.py", line 10, in __getattr__
    return getattr(self.rest_api_base, attr)
  [Previous line repeated 330 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object

Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant