Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Jul 5, 2022
1 parent 181619b commit 4040057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_appbuilder/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def add_permissions(self, update_perms: bool = False) -> None:

if self.update_perms or update_perms:
for baseview in self.baseviews:
cast(baseview, AbstractViewApi)
cast(AbstractViewApi, baseview)
self._add_permission(baseview, update_perms=update_perms)
self._add_menu_permissions(update_perms=update_perms)

Expand Down

0 comments on commit 4040057

Please sign in to comment.