Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Oct 13, 2023
1 parent ba36050 commit 0e9fcaa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions flask_appbuilder/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ def api_read(self):
log.warning("This API is deprecated and will be removed on 2.3.X")
# Get arguments for ordering
if get_order_args().get(self.__class__.__name__):
order_column, order_direction = get_order_args().get(self.__class__.__name__)
order_column, order_direction = get_order_args().get(
self.__class__.__name__
)
else:
order_column, order_direction = "", ""
page = get_page_args().get(self.__class__.__name__)
Expand Down Expand Up @@ -484,7 +486,9 @@ def api_readvalues(self):
log.warning("This API is deprecated and will be removed on 2.3.X")
# Get arguments for ordering
if get_order_args().get(self.__class__.__name__):
order_column, order_direction = get_order_args().get(self.__class__.__name__)
order_column, order_direction = get_order_args().get(
self.__class__.__name__
)
else:
order_column, order_direction = "", ""
get_filter_args(self._filters)
Expand Down

0 comments on commit 0e9fcaa

Please sign in to comment.