Skip to content

Commit 282be60

Browse files
committed
resetting list.py
1 parent d346a85 commit 282be60

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

samples/list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def main():
5858
count = 0
5959
for resource in TSC.Pager(endpoint.get, options):
6060
count = count + 1
61-
endpoint.populate_connections(resource)
62-
print(resource.name[:18], " ") , resource._connections())
61+
# endpoint.populate_connections(resource)
62+
print(resource.name[:18], " ") # , resource._connections())
6363
if count > 100:
6464
break
6565
print(f"Total: {count}")

samples/vizql_data_service_smoke_test_cap.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ def main():
4444
tableau_auth = TSC.PersonalAccessTokenAuth(args.token_name, args.token_value, site_id=args.site)
4545
server = TSC.Server(args.server, use_server_version=True)
4646
with server.auth.sign_in(tableau_auth):
47-
# Mapping to grab the handler for the user-inputted resource type
48-
# endpoint = {
49-
# "workbook": server.workbooks,
50-
# "datasource": server.datasources,
51-
# "flow": server.flows,
52-
# "table": server.tables,
53-
# "database": server.databases,
54-
# }.get("datasource")
5547
endpoint = server.datasources
5648

5749
# Get the resource by its ID

0 commit comments

Comments
 (0)