Skip to content

Commit adfae27

Browse files
committed
format
1 parent 74e9cb7 commit adfae27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableauserverclient/server/endpoint/datasources_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def update(self, datasource_item: DatasourceItem) -> DatasourceItem:
142142
raise MissingRequiredFieldError(error)
143143
# bug - before v3.15 you must always include the project id
144144
if datasource_item.owner_id and not datasource_item.project_id:
145-
if not self.parent_srv.check_at_least_version(self, "3.15"):
145+
if not self.parent_srv.check_at_least_version("3.15"):
146146
error = (
147147
"Attempting to set new owner but datasource is missing Project ID."
148148
"In versions before 3.15 the project id must be included to update the owner."

0 commit comments

Comments
 (0)