Skip to content

Commit ddeab9e

Browse files
author
SFDC\vchavatapalli
committed
Indentation fixes
1 parent dcaf0f1 commit ddeab9e

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

tableauserverclient/server/endpoint/datasources_endpoint.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,7 @@ def update_connection(
321321

322322
@api(version="3.26")
323323
def update_connections(
324-
self,
325-
datasource_item: DatasourceItem,
326-
connection_luids: list[str],
327-
authentication_type: str,
328-
username: Optional[str] = None,
329-
password: Optional[str] = None,
330-
embed_password: Optional[bool] = None
324+
self, datasource_item: DatasourceItem, connection_luids: list[str], authentication_type: str, username: Optional[str] = None, password: Optional[str] = None, embed_password: Optional[bool] = None
331325
) -> list[str]:
332326
"""
333327
Bulk updates one or more datasource connections by LUID.

tableauserverclient/server/endpoint/workbooks_endpoint.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,8 @@ def update_connection(self, workbook_item: WorkbookItem, connection_item: Connec
326326
return connection
327327

328328
# Update workbook_connections
329-
@api(version="3.26")
330-
def update_connections(
331-
self,
332-
workbook_item: WorkbookItem,
333-
connection_luids: list[str],
334-
authentication_type: str,
335-
username: Optional[str] = None,
336-
password: Optional[str] = None,
337-
embed_password: Optional[bool] = None
329+
@api(version="3.26")
330+
def update_connections(self, workbook_item: WorkbookItem, connection_luids: list[str], authentication_type: str, username: Optional[str] = None, password: Optional[str] = None, embed_password: Optional[bool] = None
338331
) -> list[str]:
339332
"""
340333
Bulk updates one or more workbook connections by LUID, including authenticationType, username, password, and embedPassword.

0 commit comments

Comments
 (0)