Skip to content

Commit 281add9

Browse files
committed
format
1 parent c2d8c0f commit 281add9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tableauserverclient/server/endpoint/projects_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def delete(self, project_id: str) -> None:
9292
@api(version="2.0")
9393
def get_by_id(self, project_id: str) -> ProjectItem:
9494
"""
95-
Fetch a project by ID. This is a convenience method making up for a gap in the server API.
95+
Fetch a project by ID. This is a convenience method making up for a gap in the server API.
9696
It uses the same endpoint as the update method, but without the ability to update the project.
9797
"""
9898
if not project_id:

test/test_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def test_delete_missing_id(server: TSC.Server) -> None:
7979
with pytest.raises(ValueError):
8080
server.projects.delete("")
8181

82+
8283
def test_get_by_id(server: TSC.Server) -> None:
8384
response_xml = UPDATE_XML.read_text()
8485
with requests_mock.mock() as m:

0 commit comments

Comments
 (0)