Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoens committed Oct 31, 2024
1 parent 4fed22b commit 7049360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabpy/tabpy_server/management/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def update_endpoint(
endpoint_type, endpoint_info["type"])
dependencies = self._check_and_set_dependencies(
dependencies, endpoint_info.get("dependencies", []))
# Adding is_public means that some existing functions do not have the is_public attribute set.
# We need to check for this when updating and set to False by default
# Adding is_public means that some existing functions do not have is_public set.
# We need to check for this when updating and set to False by default
current_is_public = False
if hasattr(endpoint_info, "is_public"):
current_is_public = endpoint_info["is_public"]
Expand Down

0 comments on commit 7049360

Please sign in to comment.