Skip to content

Commit

Permalink
bump version and update public check
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoens committed Sep 5, 2024
1 parent 0aa58bc commit 07f16c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v2.12.0

### Improvements

- Add support to optionally deploy functions that are public.

## v2.11.0

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion tabpy/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.11.0
2.12.0
8 changes: 3 additions & 5 deletions tabpy/tabpy_server/management/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,10 @@ def _check_and_set_dependencies(self, dependencies, defaultValue):
return dependencies

def _check_and_set_is_public(self, isPublic, defaultValue):
try:
isPublic
except:
if isPublic is None:
return defaultValue
else:
return isPublic

return isPublic

@state_lock
def add_endpoint(
Expand Down

0 comments on commit 07f16c1

Please sign in to comment.