8000 Removed accidently duplicate methods in ViewItem · SnarkyPapi/server-client-python@5cf4c19 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5cf4c19

Browse files
lbrendanlRussell Hay
authored andcommitted
Removed accidently duplicate methods in ViewItem
1 parent 391fdec commit 5cf4c19

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tableauserverclient/models/view_item.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,7 @@ def total_views(self):
5050
@property
5151
def workbook_id(self):
5252
return self._workbook_id
53-
54-
# Add new tags to workbook
55-
def _add_tags(self, workbook_id, tag_set):
56-
url = "{0}/{1}/tags".format(self.baseurl, workbook_id)
57-
add_req = RequestFactory.Tag.add_req(tag_set)
58-
server_response = self.put_request(url, add_req)
59-
return TagItem.from_response(server_response.content)
60-
61-
# Delete a workbook's tag by name
62-
def _delete_tag(self, workbook_id, tag_name):
63-
url = "{0}/{1}/tags/{2}".format(self.baseurl, workbook_id, tag_name)
64-
self.delete_request(url)
65-
53+
6654
def _get_initial_tags(self):
6755
return self._initial_tags
6856

0 commit comments

Comments
 (0)
0