cubicweb/web/action.py
branch3.27
changeset 12869 50db521e3e53
parent 12833 c69421aece24
child 12900 2cc3f481ecd0
--- a/cubicweb/web/action.py	Sat Feb 01 22:01:00 2020 +0100
+++ b/cubicweb/web/action.py	Tue Feb 11 10:20:18 2020 +0100
@@ -32,7 +32,6 @@
 Many examples are available in :mod:`cubicweb.web.views.actions`.
 """
 
-from typing import Optional
 
 from cubicweb import _
 
@@ -49,7 +48,7 @@
     __registry__ = 'actions'
     __select__ = match_search_state('normal')
     order = 99
-    category: Optional[str] = 'moreactions'
+    category = 'moreactions'
     # actions in category 'moreactions' can specify a sub-menu in which they should be filed
     submenu = None