Skip to content

Commit

Permalink
feat: REST API new select columns
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed May 20, 2024
1 parent 875d6cc commit 2b9653a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_appbuilder/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,7 @@ def get_list_headless(self, **kwargs: Any) -> Response:
if select_cols and output_select_cols:
return self.response_400(message="Cannot use both select and sel columns")
list_select_columns = self.list_select_columns
pruned_select_cols = []
if output_select_cols:
pruned_select_cols = [
col for col in output_select_cols if col in self.list_columns
Expand Down

0 comments on commit 2b9653a

Please sign in to comment.