Skip to content

Commit 02f6a65

Browse files
committed
fix: Correct is_pk_composite method to return False instead of raising an error. False is not a base exception
1 parent 73c9cea commit 02f6a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_appbuilder/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def is_pk(self, col_name):
247247
return False
248248

249249
def is_pk_composite(self):
250-
raise False
250+
return False
251251

252252
def is_fk(self, col_name):
253253
return False

0 commit comments

Comments
 (0)