docs: def get_action(self, action=None):
          """ Returns action to take after call """
          if action:
              self.action = action
  
          if self.action not in AjaxResponseAction.choices:
              raise ValueError(
                  "Invalid action selected: '{}'".format(self.action))
  
          return self.action