We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb53ac commit cde3b0dCopy full SHA for cde3b0d
tabpy/tabpy_server/management/state.py
@@ -340,7 +340,10 @@ def update_endpoint(
340
endpoint_type, endpoint_info["type"])
341
dependencies = self._check_and_set_dependencies(
342
dependencies, endpoint_info.get("dependencies", []))
343
- is_public = self._check_and_set_is_public(is_public, endpoint_info["is_public"])
+ # Adding is_public means that some existing functions do not have is_public set.
344
+ # We need to check for this when updating and set to False by default
345
+ is_public = self._check_and_set_is_public(
346
+ is_public, getattr(endpoint_info, "is_public", False))
347
348
self._check_target(target)
349
if target and target not in endpoints:
0 commit comments