Skip to content

Commit

Permalink
UrlFilter included object in tableau_rest_base was instantiated when …
Browse files Browse the repository at this point in the history
…it needed to just be class name on the later classes
  • Loading branch information
Bryant Howell committed Dec 9, 2019
1 parent b1cb7ba commit e44953e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tableau_rest_api/methods/rest_api_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ def __init__(self, server: str, username: str, password: str, site_content_url:
TableauRestApiBase.__init__(self, server=server, username=username, password=password,
site_content_url=site_content_url)
self.set_tableau_server_version('10.4')
self.url_filters = UrlFilter27()
self.url_filters = UrlFilter27

class TableauRestApiBase28(TableauRestApiBase27):
def __init__(self, server: str, username: str, password: str, site_content_url: Optional[str] = ""):
Expand All @@ -1189,7 +1189,7 @@ def __init__(self, server: str, username: str, password: str, site_content_url:
TableauRestApiBase.__init__(self, server=server, username=username, password=password,
site_content_url=site_content_url)
self.set_tableau_server_version('2018.2')
self.url_filters = UrlFilter31()
self.url_filters = UrlFilter31

class TableauRestApiBase32(TableauRestApiBase31):
def __init__(self, server: str, username: str, password: str, site_content_url: Optional[str] = ""):
Expand All @@ -1202,7 +1202,7 @@ def __init__(self, server: str, username: str, password: str, site_content_url:
TableauRestApiBase.__init__(self, server=server, username=username, password=password,
site_content_url=site_content_url)
self.set_tableau_server_version('2019.1')
self.url_filters = UrlFilter33()
self.url_filters = UrlFilter33

def get_published_project_object(self, project_name_or_luid: str,
project_xml_obj: Optional[ET.Element] = None) -> Project33:
Expand Down

0 comments on commit e44953e

Please sign in to comment.