Skip to content

Commit b9a2f79

Browse files
committed
linting tidy up
1 parent 07f16c1 commit b9a2f79

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tabpy/tabpy_server/handlers/management_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _add_or_update_endpoint(self, action, name, version, request_data):
118118
dependencies=dependencies,
119119
target=target,
120120
schema=schema,
121-
isPublic = isPublic,
121+
isPublic=isPublic,
122122
)
123123
else:
124124
self.tabpy_state.update_endpoint(
@@ -131,7 +131,7 @@ def _add_or_update_endpoint(self, action, name, version, request_data):
131131
target=target,
132132
schema=schema,
133133
version=version,
134-
isPublic = isPublic,
134+
isPublic=isPublic,
135135
)
136136

137137
except Exception as e:

tabpy/tabpy_server/management/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def _check_and_set_dependencies(self, dependencies, defaultValue):
190190
def _check_and_set_is_public(self, isPublic, defaultValue):
191191
if isPublic is None:
192192
return defaultValue
193-
193+
194194
return isPublic
195195

196196
@state_lock

tabpy/tabpy_tools/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ def deploy(self, name, obj, description="", schema=None, override=False, isPubli
224224
225225
isPublic : bool, optional
226226
Whether a function should be public for viewing from within tableau. If
227-
False, function will not appear in the custom functions explorer within
228-
Tableau. If True, function will be visible ta anyone on a site with this
227+
False, function will not appear in the custom functions explorer within
228+
Tableau. If True, function will be visible ta anyone on a site with this
229229
analytics extension configured
230230
231231
See Also
@@ -283,7 +283,7 @@ def _gen_endpoint(self, name, obj, description, version=1, schema=None, isPublic
283283
The version. Defaults to 1.
284284
285285
isPublic : bool
286-
True if function should be visible in the custom functions explorer
286+
True if function should be visible in the custom functions explorer
287287
within Tableau
288288
289289
Returns

0 commit comments

Comments
 (0)