#NEWLINE# @ lru_cache ( ) #NEWLINE# def get_actions( ) : #NEWLINE# #INDENT# return dict ( ( ( action . verb , action ) for model_class in registry . values ( ) for action in getattr ( action , 'actions' , [ ] ) ) )