8000 Merge branch 'master' into development · jsonhuff/server-client-python@1a2d921 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a2d921

Browse files
author
Russell Hay
authored
Merge branch 'master' into development
2 parents faa1c7c + 44038b0 commit 1a2d921

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Tableau Server Client (Python)
2+
[![Tableau Supported](https://img.shields.io/badge/Support%20Level-Tableau%20Supported-53bd92.svg)](https://www.tableau.com/support-levels-it-and-developer-tools)
23

34
Use the Tableau Server Client (TSC) library to increase your productivity as you interact with the Tableau Server REST API. With the TSC library you can do almost everything that you can do with the REST API, including:
45

@@ -10,4 +11,4 @@ This repository contains Python source code and sample files.
1011

1112
For more information on installing and using TSC, see the documentation:
1213

13-
<https://tableau.github.io/server-client-python/docs/>
14+
<https://tableau.github.io/server-client-python/docs/>

tableauserverclient/server/endpoint/tasks_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def get_by_id(self, task_id):
3030
logger.info("Querying a single task by id ({})".format(task_id))
3131
url = "{}/{}".format(self.baseurl, task_id)
3232
server_response = self.get_request(url)
33-
return TaskItem.from_response(server_response.content)[0]
33+
return TaskItem.from_response(server_response.content, self.parent_srv.namespace)[0]
3434

3535
@api(version='2.6')
3636
def run(self, task_item):

0 commit comments

Comments
 (0)
0